my site -> check it out.

It doesn't matter if you do all the error checking in the world, or if you have the most beautiful graphics, if your site or application design isn't usable, it's not going to do well. Get input and advice on usability and user interface issues here.

Moderator: General Moderators

User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

thanks rehfeld i'll do it.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Nice design. :)
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

thanks sami ;)
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

btw, rehfeld i did what you said to me. but i t colors the backgrounds of images too. how can i disable this?
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

it shouldnt if you use an id on the <ul>

by doing this:

Code: Select all

#navmenu a &#123; display: block; width: 100%; &#125;

<ul id="navmenu">
    <li><a>link</a></li>
    <li><a>link</a></li>
    <li><a>link</a></li>
</ul>
your saying:

"every element <a> inside the id named "navmenu" should be: display: block etc...."

so unless your using the id="navmenu" on more than one element(which your not supposed to do), it must work.

but if you do this (w/out using the id as a selector)

a {display: block; width: 100%; }

you would be assiging that style to every a tag in the document, which i doubt you want to do....

and btw- the width: 100% is only there for IE. display:block makes elements default to width: 100%, but were dealing w/ ie and it needs help :)
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

i looked at your css, untill this post i did not look at it, and didnt even know you had an id named "navigation". so when i said id="navmenu", i meant to create a new id

you could also do this:

Code: Select all

#navigation ul a &#123;
    display: block;
    width: 100%;
&#125;
and that would fix your problem.

your currently saying

apply the style to every <a> inside the id named "navigation"

when you want to say:

apply the style to every <a> thats also inside a <ul> inside the id named "navigation"


so just undo whatever you did, and add the style snippit in this post, and it will work
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

ok i will try. thanks for your tips.
Post Reply