Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Bidding Directory   High Bandwidth Dedicated Servers   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 08-07-2006, 05:04 AM   #1 (permalink)
Inactive
 
Join Date: 06-29-06
Location: UK
Posts: 24
iTrader: 0 / 0%
Latest Blog:
None

3speed is liked by many
Unhappy CSS help, please!!

I'm fairly new to web design & CSS, but learning all the time. I'm having a few problems with my website that I just can't figure out. I have designed the site ( http://lagette.net ) on a mac and only have occasional access to a pc so I'm struggling to iron out IE6 problems.

1) On the vertical navigation list on the left, bullet points are showing up in internet explorer 6. In my CSS I have:

.vnav ul, .vnav ul li
{
list-style-type:none;
}

It looks fine in Safari, ie, opera & firefox on mac, but shows unwanted bullet points in ie on windows. Have searched on google, but I can only find references to the opposite problem where you want bullets but they don't show up.

2) I want the links in the main content to be underlined at all times. My navigation links & footer links are set to be underlined when active and hovered over, but not otherwise. At the moment main content links are underlined only when not visited. For visited, hover & active they are all not underlined. I don't know why! The CSS is:

a:link, a:visited, a:hover, a:active
{
text-decoration:underline;
}

This is for all browsers on mac, and ie6 on pc.


Hope this makes sense & hope someone can help!
3speed is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 08-10-2006, 07:52 AM   #2 (permalink)
Inactive
 
Mrblogs's Avatar
 
Join Date: 03-29-06
Posts: 546
iTrader: 0 / 0%
Mrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really nice
Send a message via MSN to Mrblogs Send a message via Yahoo to Mrblogs
1)

In firefox I see the bullet points, as well as in IE - but for the Features section, and not the Navigation at the side.

They display normally.

2) You may want to try a:* { text-decoration: underline; }

Make sure also that you are including the right css file, and that your browser isn't caching the OLD css file.
Mrblogs is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-10-2006, 09:14 AM   #3 (permalink)
Inactive
 
Join Date: 10-12-03
Location: Cranberry Township
Posts: 275
iTrader: 0 / 0%
niceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really nice
Send a message via ICQ to niceguyeddie
You're going a little overboard on the div calls:

Code:
<div id="leftColumn"> <div id="innerLeftColumn"> <div class="vnav"> <ul> <li id="nav-news"><a href="http://www.lagette.net/news/" title="Find out family news and updates to the website">News</a></li> <li id="nav-names" title="Find out information on some of the names in the La Gette family tree."><a href="names.html">Surname data</a></li> <li id="nav-places"><a href="places/places.html"title="Find out information on some of the places in the La Gette family tree.">Places</a></li> </ul> </div>
Think of CSS as something that cascades down... In this example the lists inherent from LeftColumn, InnerLeftColumn, Class: vnav, UL, LI.

So, really you could do away with the vnav div and instead use:

Code:
<ul class="vnav">
However, to be even more fancy if you think about it, that one list is an ID that might have a class style attached. So, for instance, you might have a class of unordered lists that do not show bullets and one that does:

Code:
.bullets ul li {} .nobullets ul li {list-style-type: none} #vnav {font-color: #000;} <ul id="vnav" class="nobullets"> <li>one</li> <li>two</li> </ul>
that way you can define your list style for this list, but still use the DOM in your javascript. In later lists, you might have id="newlist" class="bullets" ...

Make sense?
niceguyeddie is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-11-2006, 04:51 AM   #4 (permalink)
Inactive
 
Join Date: 06-29-06
Location: UK
Posts: 24
iTrader: 0 / 0%
Latest Blog:
None

3speed is liked by many
Ok thanks for that. I will try using the * { text-decoration: underline; }

Also will try and sort my divs out! The second part of what you said, niceguyeddie, is going over my head a bit, but I will read some more about it.

I don't really know why I could see the bullet points in the wrong place when I looked at it. A friend of mine who has a pc said it looked fine, but i looked at it from my workplace and it was messed up.
3speed is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-11-2006, 07:50 AM   #5 (permalink)
Inactive
 
Mrblogs's Avatar
 
Join Date: 03-29-06
Posts: 546
iTrader: 0 / 0%
Mrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really nice
Send a message via MSN to Mrblogs Send a message via Yahoo to Mrblogs
er make sure its a:* not *

!
Mrblogs is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 10:29 AM.
© Copyright 2008 V7 Inc