Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-05 06:05:58

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

CSS Navigation Questions

1) How do I add a gap after the navigation so it’s not touching the bottom containers? In IE there’s a gap thank s to the clearer, but in FF it’s stuck to the bottom containers.

2) How can I replace the navigation links with images?

Thanks in advance

the site

Last edited by sekhu (2006-06-05 06:06:11)

Offline

#2 2006-06-05 08:30:06

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: CSS Navigation Questions

1)
Hi sekhu, i can not attend your site (Internal Server Error) .. i recommend you download CSSVista for checking CSS in FF and IE.
Mostelikely your problem arises from using margins. margins collaps. try padding.

Last edited by alexandra (2006-06-05 08:30:48)

Offline

#3 2006-06-05 09:59:19

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: CSS Navigation Questions

should be working now

2) I solved

1) tried padding, but it didn’t work right

Offline

#4 2006-06-05 11:43:00

Insignia
Member
Registered: 2006-05-05
Posts: 13

Re: CSS Navigation Questions

tried padding, but it didn’t work right

Where did you try it, if you don’t mind my asking?

According to your stylesheet…
<code>#navcontainer { width: auto; margin-top: 10px; margin-bottom: 0px; margin-left: 0px; margin-right: 0;}</code>
… you expressly tell the navigation to not have a bottom margin. Have you tried changing the margin-bottom to a length greater than 0? Alternatively, you could add a margin-top to the #prebottom div.

If that’s what you’ve already attempted, i don’t know what’s wrong. There’s no reason it shouldn’t work. :/

Offline

#5 2006-06-05 13:21:14

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: CSS Navigation Questions

I’ve added the margin-bottom: 0 as a left over from trying 20 pixels, I just deleted the 2 and left the rest. I’ve tried adding padding and margin to prebottom and the navcontainer.

I even added another div in between the navigation and the containers, but it made no difference. I’m confused.

Ok padding worked in the prebottom, I was using FF to edit the css so I couldnt’ tell the difference. My bad.

Thanks for the help.

Cheers

Last edited by sekhu (2006-06-05 13:23:48)

Offline

Board footer

Powered by FluxBB