Help
Search
Login
Register
Home
Forum: web design and graphics community
Celestial Star Forum
>
Web Development
>
Coding
>
Nav Trouble in Firefox
Pages: [
1
]
« previous
next »
Print
Author
Topic: Nav Trouble in Firefox (Read 731 times)
padme_
Skogul
Posts: 26
Nav Trouble in Firefox
«
on:
May 22, 2008, 04:43:49 PM »
Padme again with Firefox dilemmas. I should start coding that first from now on...
Anyways. I finally got most of the stuff fixed, and I just need help moving the navigation on my Firefox page. :]
Please+thankyou!
Code:
body {
background: #79954a url(/images/shinebgtop2.jpg) repeat-x top;
font-family: "Trebuchet MS", "Lucida Sans Unicode", Verdana, Sans-serif;
font-size: 12px;
color: #55e5dc;
text-align: center;
margin: 0px auto;
padding: 0px auto;
}
a {
color: #f5b25b;
text-decoration: none; }
a:hover, a:active {
color: #a8bcd7;
text-decoration: line-through; }
#container {
width: 100%;
margin: 0px auto;
padding: 0px auto;
background: url(/images/footerbg2.jpg) repeat-x bottom;
}
h1
{
background: url(/images/shineh1.jpg) no-repeat;
padding-left: 140px;
padding-top: 20px;
margin-bottom:0px;
margin-top:0px;
font-family: georgia, serif;
font-style:italic;
font-size:28px;
text-transform:lowercase;
letter-spacing:2px;
line-height:20px;
color:#ede9c6;
text-align: left;
}
h2
{background: url(/images/shineh2.jpg) no-repeat;
font-family: bodoni;
font-style:none;
font-size:20px;
text-transform:lowercase;
line-height:26px;
color:#FFFFFF;
text-align: left;
padding-left: 10px;
}
h3
{
padding-left:6px;
margin-bottom:0px;
margin-top:0px;
font-family: bodoni;
font-style:none;
font-size:12px;
text-transform:lowercase;
letter-spacing:2px;
line-height:18px;
color:#000000;
background-color:#FFFFFF;
background: url(/uc/images/h3.jpg) no-repeat;
}
#header {
width: 771px;
margin: 0px auto;
padding: 0px auto;
height: 448px;
background: url(/images/shinetop4.jpg) no-repeat;
text-align: center;
}
#nav ul {
list-style: none;
width: 178px;
margin: 0px auto;
padding: 0px auto;
}
#nav li a {
display: block;
padding-top: 5px;
padding-bottom: 5px;
text-transform: uppercase;
width: 178px;
color: #fff8b2;
margin: auto 0px;
}
#nav li a:link, #nav li a:visited {
color: #fff8b2;
width: 178px;
}
#nav li a:hover, #nav li a:active {
background: url(/images/nav2.jpg);
color: #ed5926;
text-decoration: none;
width: 178px;
}
#text {
width: 480px;
background: #93372a url();
float: left;
text-align: center;
overflow: visible;
}
#back {
width: 773px;
background: url(/images/shineback6.jpg);
margin: 0px auto;
padding: 0px auto;
}
#footer {
width: 777px;
height: 150px;
background: url(/images/shinefoot3.jpg);
clear: both;
margin: 0px;
padding: 0px auto;
}
#nav {
width: 178px;
float: left;
background: url();
margin-left: 66px;
padding: 0px auto;
}
Logged
Nelson
Skogul
Posts: 46
"Love one and flirt with the rest."
Re: Nav Trouble in Firefox
«
Reply #1 on:
May 26, 2008, 11:32:38 PM »
Uh, any screenshot, perhaps?
Logged
Stalk me?
padme_
Skogul
Posts: 26
Re: Nav Trouble in Firefox
«
Reply #2 on:
May 30, 2008, 11:19:56 AM »
Oh crap, sorry!
www.brilliantcrimson.com
Logged
Nelson
Skogul
Posts: 46
"Love one and flirt with the rest."
Re: Nav Trouble in Firefox
«
Reply #3 on:
June 04, 2008, 04:48:04 AM »
So the problem is that the contents overlap the sidebar, is that it?
Try "floating" the #nav to the left and the #text to the right and ensure that the sum of their widths (and padding or margins if there are any) equals that of the #back.
Logged
Stalk me?
Nelson
Skogul
Posts: 46
"Love one and flirt with the rest."
Re: Nav Trouble in Firefox
«
Reply #4 on:
June 04, 2008, 04:49:18 AM »
Also, don't forget to put a
Code:
clear:both;
in the footer.
Logged
Stalk me?
Moorina
Angeling
Posts: 6
moo
Re: Nav Trouble in Firefox
«
Reply #5 on:
June 04, 2008, 01:24:08 PM »
Well, I'm pretty sure it's because of the width in your #nav id. It's smaller than it should be.
I tried it with a width: 219px instead of width: 178px. That seemed to do the trick. So your #nav should look like:
Code:
#nav {
width: 219px;
float: left;
background: url();
margin-left: 26px;
padding: 0px auto;
}
Logged
padme_
Skogul
Posts: 26
Re: Nav Trouble in Firefox
«
Reply #6 on:
June 05, 2008, 12:37:24 AM »
Hey, it worked! Thanks so much!! <3333
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General
=> New Members
=> Announcements
=> Support / Suggestions
-----------------------------
Contests
-----------------------------
=> Archive
===> Contests
===> Blend Challenges
===> SOTW
-----------------------------
Art Boards
-----------------------------
=> Creative mediums
=> Requests & offers
=> Tutorials
===> Celestial Star Tutorials
-----------------------------
Web Development
-----------------------------
=> Coding
=> Web Design
=> Advertisements / Affiliation
-----------------------------
Off-topic
-----------------------------
=> Entertainment
-----------------------------
Español (Spanish Only)
-----------------------------
=> General / Bienvenida
=> Anuncios / Ayuda
=> Código / Desarrollo web
Welcome,
Guest
Members login
Register for free
General
General
New members
Announcements
Support / Suggestions
Art boards
Creative mediums
Requests and offers
Tutorials
Celestial Star tutorials
Web development
Coding
Web design
Advertisements / affiliation
Off-topic
The non-sense
Ententainment
Loading...