 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 1:20 am frozen sidebar |
|
|
|
i tried searching but i don't know the right terminology
I want my side bar to stay in one place while the page scrolls.
just like this: http://www.w3.org/Style/CSS/learning
thanks
i just started learning this stuff but i'm computer savy. although its rough learning it on your own its fun. i'm trying to build our (family business) website all in notepad. |
|
sticks464
Joined: 31 Dec 2006 Posts: 1122
|
Posted: Wed Feb 20, 2008 4:53 am |
|
|
|
Normally if you look at the source code you can tell how they do it. To get a left column to stay put use
| Code: |
#leftColumn {
position:absolute;
top:0;
left:0;
width:130px;
height:200px;
z-index:50;
} |
|
|
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 9:04 am |
|
|
|
i was talking about the navigation menu on the right.
books
online
resources
css validator
etc etc
i tried messing with the positioning value on my page. where i currently have the navigation bar on th right. i just don't think that where its going to make it happen.
i tried looking at the code, but haven't quite figured out how they did it. i figured its in the css file. i don't know how to look at that.
i noticed he had this:
| Code: |
<style type="text/css" title="Gold [b](right, fixed) + navbar[/b]"
media="screen, print, projection, tv"> |
here is what i got
My home page.
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Tequila Patio</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Online home of Tequila Patio. We are a family restaurant and offer Tex-Mex, Mexican and American food. We also have a full bar.">
<meta name="keywords" content="restaurant,tex-mex,mex-mex,tex,mex,mexican,american,houston,texas,buffet,breakfast,lunch,diner,dinner,refreshments,tequila,patio,bar,cantina,spring,beer,enchilada,houston restaurant,tequila patio,fajitas,margarita,catering,food,fun,entertainment,to-go,take out">
<meta name="generator" content="notepad">
<meta name="author" content="Joel Balderas Jr.">
<meta name="copyright" content="Copyright © 2008">
<meta name="distribution" content="global">
<meta name="revist-after" content="15 days">
<meta name="robots" content="all">
<link rel="stylesheet" href="mainstyle.css" type="text/css">
</head>
<body>
<ul class="rside">
<li><a href="http://www.tequilapatio.com/" title="Go back to the home page">Home</a>
</li>
<li><a href="http://www.tequilapatio.com/menu.html" title="Look at our restaurant menu">Our Menu</a>
</li>
<li><a href="http://www.tequilapatio.com/events.html" title="Information for your next event">Catering and Banquets</a>
</li>
<li><a href="http://www.tequilapatio.com/directions.html" title="Get a hold of us">Directions - Contact Us</a>
</li>
<li><a href="http://www.tequilapatio.com/formerly.html" title="What happen to Carlos'?">Formerly Carlos Mexican Restaurant - History</a>
</li>
<li><a href="http://www.tequilapatio.com/restaurant.html" title="Get a feel for what our restaurant looks like">Bar and Dining Areas</a>
</li>
<li><a href="http://www.tequilapatio.com/tequila.html" title="Know what you're drinking">Tequila</a>
</li>
<li><a href="http://www.tequilapatio.com/gallery2" title="See it all">Gallery</a>
</li>
</ul>
<h2>Coming soon</h2>
<p style="font-size: 400%;">Tequila Patio</p>
<p style="font-size: 300%;">Under Construction: on the Web and Brick and Morter.</p>
<p style="font-size: 300%;">Order TO-GO: Call (281) 350-1136</p>
</body>
</html> |
My CSS file.
| Code: |
body {
padding-right: 13em;
padding-left: 1em;
padding-top: 10em;
font-family: arial,verdana,helvetica;
color: white;
background: #454D54; }
ul.rside {
list-style: none;
padding: 0em;
margin: 0;
position: absolute;
top: 10em;
right: 2em;
width: 13em;
border-right: .7em solid #354654;
border-left: .7em solid #354654;
border-top: .7em solid #354654;
border-bottom: .7em solid #354654; }
ul.rside li {
background: #354654;
margin: 0.0em 0;
padding: .3em;
border-bottom: .02em solid #776D62;
border-top: .0em solid #776D62; }
ul.rside a {
text-decoration: none; }
h1 {
font-family: arial,verdana,helvetica; }
h2 {
font-size: 650%;
font-family: arial,verdana,helvetica; }
a:link {
color: white; }
a:visited {
color: white; }
a:hover {
color: #77624C; } |
|
|
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 9:22 am |
|
|
|
Ok so I figured this out.
fixed is the key. but it doesn't work in IE.
So I have the results i want in firefox but not ie.
still searching... |
|
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 9:33 am |
|
|
|
and i found this work around so that there are two styles (one for ie and one for firefox):
| Code: |
<!--[if IE]>
<link rel="stylesheet" href="style.css" type="text/css">
<![endif]--> |
there has to be a way so still searching.... |
|
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 10:03 am |
|
|
|
now i found this that explanes how to do it.
it also has an example of the menu being used on the page.
http://www.w3.org/Style/Examples/007/menus
i tried it but it doesn't work in ie, it does in ff. yet some how when i vist both sites i've linked to it does work in ie.
so what are they doing that i'm not seeing. |
|
sticks464
Joined: 31 Dec 2006 Posts: 1122
|
Posted: Wed Feb 20, 2008 3:26 pm |
|
|
|
You just didn't go far enough into the code. This tests ok in IE5.5, 6 and 7. Works in FF, but the hover is not working in Opera for some reason. I don't have Safari installed right now or I would test that also.
This line body>div.banner {position: fixed} is the work around for IE along with the use of position: absolute
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tequila Patio</title>
<meta name="description" content="Online home of Tequila Patio. We are a family restaurant and offer Tex-Mex, Mexican and American food. We also have a full bar.">
<meta name="keywords" content="restaurant,tex-mex,mex-mex,tex,mex,mexican,american,houston,texas,buffet,breakfast,lunch,diner,dinner,refreshments,tequila,patio,bar,cantina,spring,beer,enchilada,houston restaurant,tequila patio,fajitas,margarita,catering,food,fun,entertainment,to-go,take out">
<meta name="generator" content="notepad">
<meta name="author" content="Joel Balderas Jr.">
<meta name="copyright" content="Copyright © 2008">
<meta name="distribution" content="global">
<meta name="revist-after" content="15 days">
<meta name="robots" content="all">
<style type="text/css">
* {
margin:0;
padding:0;
}
body {
font-family: arial,verdana,helvetica;
font-size: 1.2em;
}
body>div.banner {position: fixed}
div.banner {
width: 13em;
margin: 0;
font-size: 80% /*smaller*/;
font-weight: bold;
line-height: 14px;
text-align: left;
position: absolute;
top: 10em;
left: auto;
right: 2em;
border: .7em solid #354654;
}
div.banner ul {list-style:none;}
div.banner ul li {
background: #354654;
display:block;
margin: 2px 0 2px 0;
padding: .3em;
border-bottom: .02em solid #776D62;
}
div.banner ul a:link {
color: white;
text-decoration:none;
}
div.banner ul a:visited {color: white;}
div.banner ul a:hover {color: #77624C;}
h2 {font-size: 150%;}
p {font-size:100%;}
</style>
</head>
<body>
<div class="banner">
<ul>
<li><a href="http://www.tequilapatio.com/" title="Go back to the home page">Home</a></li>
<li><a href="http://www.tequilapatio.com/menu.html" title="Look at our restaurant menu">Our Menu</a></li>
<li><a href="http://www.tequilapatio.com/events.html" title="Information for your next event">Catering and Banquets</a></li>
<li><a href="http://www.tequilapatio.com/directions.html" title="Get a hold of us">Directions - Contact Us</a></li>
<li><a href="http://www.tequilapatio.com/formerly.html" title="What happen to Carlos'?">Formerly Carlos Mexican Restaurant - History</a></li>
<li><a href="http://www.tequilapatio.com/restaurant.html" title="Get a feel for what our restaurant looks like">Bar and Dining Areas</a></li>
<li><a href="http://www.tequilapatio.com/tequila.html" title="Know what you're drinking">Tequila</a></li>
<li><a href="http://www.tequilapatio.com/gallery2" title="See it all">Gallery</a></li>
</ul>
</div>
<h2>Coming soon</h2>
<p>Tequila Patio</p>
<p>Under Construction: on the Web and Brick and Morter.</p>
<p>Order TO-GO: Call (281) 350-1136</p>
</body>
</html> |
|
|
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 4:04 pm |
|
|
|
o wow thanks. I tried that but obviously was doing something wrong.
another question.
you changed some of the formatting. like the placing of li, /li, meta http-equ was added as well as this "http://www.w3.org/TR/html4/loose.dtd"
can you explain those changes to me?
as far as the formating i saw that somewhere and it helps visually check for errors. but is that bad form?
thanks a lot again. |
|
sticks464
Joined: 31 Dec 2006 Posts: 1122
|
Posted: Wed Feb 20, 2008 5:30 pm |
|
|
|
All I did with the formatting was line up the li, /li tags on my computer. They weren't in the wrong place but they look better this way and help the visual look of the code when viewed.
The doctype declaration tells what doctype is being used, but you also have to tell the browser where it's at so it has a reference, hence the "http://www.w3.org/TR/html4/loose.dtd" on the end. See http://www.w3.org/QA/2002/04/valid-dtd-list.html
You already had a meta tag for the content type, check here for an explanation
http://www.utf-8.com/
This also will identify any errors in the code that will break the layout of the page when viewed in a browser.
It is not bad form to arrange your code so it is visually appealing, not only for yourself to easily find things, but for anyone that may see your code.
To insure that you have written good code for the doctype your using, use the w3c validator. http://validator.w3.org/ |
|
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 6:06 pm |
|
|
|
cool.
ok so now i have the same problem but different.
your code worked perfect with the styling internal. But I want it to be in my external css file so I copied the styling over to css file.
IE and Oprea work fine but not Firefox. Now it acts like IE was acting.
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tequila Patio</title>
<meta name="description" content="Online home of Tequila Patio. We are a family restaurant and offer Tex-Mex, Mexican and American food. We also have a full bar.">
<meta name="keywords" content="restaurant,tex-mex,mex-mex,tex,mex,mexican,american,houston,texas,buffet,breakfast,lunch,diner,dinner,refreshments,tequila,patio,bar,cantina,spring,beer,enchilada,houston restaurant,tequila patio,fajitas,margarita,catering,food,fun,entertainment,to-go,take out">
<meta name="generator" content="notepad">
<meta name="author" content="Joel Balderas Jr.">
<meta name="copyright" content="Copyright © 2008">
<meta name="distribution" content="global">
<meta name="revist-after" content="15 days">
<meta name="robots" content="all">
<link rel="stylesheet" href="mainstyle.css" type="text/css">
</head>
<body>
<div class="banner">
<ul>
<li><a href="http://www.tequilapatio.com/" title="Go back to the home page">Home</a>
</li>
<li><a href="http://www.tequilapatio.com/menu.html" title="Look at our restaurant menu">Our Menu</a>
</li>
<li><a href="http://www.tequilapatio.com/events.html" title="Information for your next event">Catering and Banquets</a>
</li>
<li><a href="http://www.tequilapatio.com/directions.html" title="Get a hold of us">Directions - Contact Us</a>
</li>
<li><a href="http://www.tequilapatio.com/formerly.html" title="What happen to Carlos'?">Formerly Carlos Mexican Restaurant - History</a>
</li>
<li><a href="http://www.tequilapatio.com/restaurant.html" title="Get a feel for what our restaurant looks like">Bar and Dining Areas</a>
</li>
<li><a href="http://www.tequilapatio.com/tequila.html" title="Know what you're drinking">Tequila</a>
</li>
<li><a href="http://www.tequilapatio.com/gallery2" title="See it all">Gallery</a>
</li>
</ul>
</div>
<h2>Coming soon</h2>
<p style="font-size: 400%;">Tequila Patio</p>
<p style="font-size: 300%;">Under Construction: on the Web and Brick & Morter.</p>
<p style="font-size: 300%;">Order TO-GO: Call (281) 350-1136</p>
<p style="font-size: 100%;">text texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
</p>
</body>
</html> |
| Code: |
*{
margin:0;
padding:0; }
body {
padding-right: 13em;
padding-left: 1em;
padding-top: 10em;
font-family: arial,verdana,helvetica;
font-size: 1.2em;
color: white;
background: #454D54; }
<!-- the following line makes fixed positioning work in IE -->
body>div.banner {position: fixed}
div.banner {
width: 13em;
margin: 0;
font-size: 80% /*smaller*/;
font-weight: ;
line-height: 14px;
text-align: left;
position: absolute;
top: 10em;
left: auto;
right: 0em;
border: .7em solid #354654; }
div.banner {
width: 13em;
margin: 0;
font-size: 80% /*smaller*/;
font-weight: bold;
line-height: 14px;
text-align: left;
position: absolute;
top: 10em;
left: auto;
right: 2em;
border: .7em solid #354654;
}
div.banner ul {list-style:none;}
div.banner ul li {
background: #354654;
display:block;
margin: 2px 0 2px 0;
padding: .3em;
border-bottom: .02em solid #776D62;
}
div.banner ul a:link {
color: white;
text-decoration:none;
}
div.banner ul a:visited {color: white;}
div.banner ul a:hover {color: #77624C;}
h1 {
font-family: arial,verdana,helvetica; }
h2 {
font-size: 650%;
font-family: arial,verdana,helvetica; }
p {font-size:100%;}
a:link {
color: white; }
a:visited {
color: white; }
a:hover {
color: #77624C; } |
|
|
sticks464
Joined: 31 Dec 2006 Posts: 1122
|
Posted: Wed Feb 20, 2008 9:12 pm |
|
|
|
I did some more searching and this is what I have. It works in IE7 and FF. Can't find a work around or hack that will make it work in IE6 or older.
html
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="description" content="Online home of Tequila Patio. We are a family restaurant and offer Tex-Mex, Mexican and American food. We also have a full bar.">
<meta name="keywords" content="restaurant,tex-mex,mex-mex,tex,mex,mexican,american,houston,texas,buffet,breakfast,lunch,diner,dinner,refreshments,tequila,patio,bar,cantina,spring,beer,enchilada,houston restaurant,tequila patio,fajitas,margarita,catering,food,fun,entertainment,to-go,take out">
<meta name="generator" content="notepad">
<meta name="author" content="Joel Balderas Jr.">
<meta name="copyright" content="Copyright © 2008">
<meta name="distribution" content="global">
<meta name="revist-after" content="15 days">
<meta name="robots" content="all">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tequila Patio</title>
<link rel="stylesheet" href="mainstyle.css" type="text/css">
<!--[if lte IE 6]>
<style type="text/css">
/*<![CDATA[*/
html {overflow-x:auto; overflow-y:hidden;}
/*]]>*/
</style>
<![endif]-->
</head>
<body>
<div class="banner">
<ul>
<li><a href="http://www.tequilapatio.com/" title="Go back to the home page">Home</a></li>
<li><a href="http://www.tequilapatio.com/menu.html" title="Look at our restaurant menu">Our Menu</a></li>
<li><a href="http://www.tequilapatio.com/events.html" title="Information for your next event">Catering and Banquets</a></li>
<li><a href="http://www.tequilapatio.com/directions.html" title="Get a hold of us">Directions - Contact Us</a></li>
<li><a href="http://www.tequilapatio.com/formerly.html" title="What happen to Carlos'?">Formerly Carlos Mexican Restaurant - History</a></li>
<li><a href="http://www.tequilapatio.com/restaurant.html" title="Get a feel for what our restaurant looks like">Bar and Dining Areas</a></li>
<li><a href="http://www.tequilapatio.com/tequila.html" title="Know what you're drinking">Tequila</a></li>
<li><a href="http://www.tequilapatio.com/gallery2" title="See it all">Gallery</a></li>
</ul>
</div>
<div id="content">
<h2>Coming soon</h2>
<p style="font-size: 400%;">Tequila Patio</p>
<p style="font-size: 300%;">Under Construction: on the Web and Brick & Morter.</p>
<p style="font-size: 300%;">Order TO-GO: Call (281) 350-1136</p>
<p style="font-size: 100%;">text texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
text texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext texttext text
</p>
</body>
</html> |
css
| Code: |
*{
margin:0;
padding:0; }
body {
font-family: arial,verdana,helvetica;
font-size: 1.2em;
color: white;
background: #454D54; }
div.banner {
width: 13em;
margin: 0;
font-size: 80% /*smaller*/;
font-weight: bold;
line-height: 14px;
text-align: left;
position: fixed;
top: 10em;
left: auto;
right: 2em;
border: .7em solid #354654;
}
div.banner ul {list-style:none;}
div.banner ul li {
background: #354654;
display:block;
margin: 2px 0 2px 0;
padding: .3em;
border-bottom: .02em solid #776D62;
}
div.banner ul a:link {
color: white;
text-decoration:none;
}
div.banner ul a:visited {color: white;}
div.banner ul a:hover {color: #77624C;}
<!-- the following line makes fixed positioning work in IE -->
* html #menu {position:absolute;}
h1 {
font-family: arial,verdana,helvetica; }
h2 {
font-size: 650%;
font-family: arial,verdana,helvetica; }
p {font-size:100%;}
a:link {
color: white; }
a:visited {
color: white; }
a:hover {
color: #77624C; }
#content {
width:75%;
height:auto;
padding:2em;
}
h1 {
font-family: arial,verdana,helvetica; }
h2 {
font-size: 650%;
font-family: arial,verdana,helvetica; }
p {font-size:100%;}
a:link {
color: white; }
a:visited {
color: white; }
a:hover {
color: #77624C; } |
|
|
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 9:19 pm |
|
|
|
did you find that here: http://www.cssplay.co.uk/layouts/fixed.html
i was looking at that. but it said this: "The only problem with this is that you cannot use absolute or relative positions on the moving page but float is allowed."
i guess by moving page they are refering to the body or everything but the fixed menu.
i was a bit concerned with that but honsetly i don't know how much it would affect the syling i will use. two reasons for that i haven't finalized what the design will be and i don't know css well enough yet to uderstand what limitations it will place on the design. |
|
sticks464
Joined: 31 Dec 2006 Posts: 1122
|
Posted: Wed Feb 20, 2008 9:41 pm |
|
|
|
| I looked at that and that's where I got the different css that makes it work in IE7. The moving page is the parts that scroll. If you notice, I put the content (other than the menu) into a div container and removed the margins and padding from the body element. Now you can style the container and the content inside. CSS will place no limitations on the layout, IE is the only limitation for designing. |
|
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 9:47 pm |
|
|
|
| dude if your ever in houston. let me know, i'll hook you up at our restaurant. |
|
joeljr
Joined: 20 Feb 2008 Posts: 11
|
Posted: Wed Feb 20, 2008 10:30 pm |
|
|
|
There is no need for these being in there twice right?
| Code: |
h1 {
font-family: arial,verdana,helvetica; }
h2 {
font-size: 650%;
font-family: arial,verdana,helvetica; }
p {font-size:100%;}
a:link {
color: white; }
a:visited {
color: white; }
a:hover {
color: #77624C; }
#content {
width:75%;
height:auto;
padding:2em;
}
h1 {
font-family: arial,verdana,helvetica; }
h2 {
font-size: 650%;
font-family: arial,verdana,helvetica; }
p {font-size:100%;}
a:link {
color: white; }
a:visited {
color: white; }
a:hover {
color: #77624C; } |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|