matak
May 12 2007, 05:06 AM
I just started designing something that i thought is gonna be a really simple xHTML strict template. Everything is right except that i thought of using unordered list, some other list under that list. Well this is the code for the Menu that is cousing me problems CODE <div id="lijevo"> <ul> <li>List1</li> <li>List2</li> <li> <ul> <li>List 2 Sublist</li> <li> <ul> <li>This is really long text that explains a bunch of nothing3</li> <li>This is really long text that explains a bunch of nothing2</li> <li>This is really long text that explains a bunch of nothing1</li> </ul> </li> </ul> </li> <li>List3</li> <li> <ul> <li>List 3 Sublist</li> <li> <ul> <li>This is really long text that explains a bunch of nothing3</li> <li>This is really long text that explains a bunch of nothing2</li> <li>This is really long text that explains a bunch of nothing1</li> </ul> </li> </ul> </li> </ul> </div> I arranged CSS with few simple code lines like this CODE div, p, h1, ul, li{margin:0;padding:0; list-style: none; }
div#lijevo ul { /*indenting and width*/ margin-left: 10px; } At first i didn't use that <li> tag before <li>list2 sublist</li> but that didn't validate as (x)HTML strict  . Then when i added the tag IE shows padding under <li>List2</li>, like you can see it on test website HERE. Anyone knows simple way to overcome this problem..
Reply
jlhaslip
May 12 2007, 01:04 PM
Try adding zero margins and padding to the universal star selector as follows: CODE * html {margin:0;padding:0;} That should eliminate all margins and padding on all elements on the page. You will then need to add back the magins and padding where you want some. Alternately, use a more specific selector to target the UL li UL for the second lists. check this out: http://jlhaslip.trap17.com/samples/misc/ba...ic_3lvl_ul.html
Reply
matak
May 12 2007, 07:04 PM
Lol, thanks for the * html tip  .. And guess what, it wasn't CSS but HTML problem.. I opened and closed the wrong <li> at top. Now i saw how u did it and it's fixed. What can u say. Except, do you eat fish  Oh, boy i really need to sleep now  Thank you very much!
Reply
Recent Queries:--
nested unordered list ie6 - 394.53 hr back.
-
100% ie6 bug - 1035.70 hr back.
-
"unordered list" "background color" explorer - 1419.17 hr back.
Similar Topics
Keywords : , problem, css, unordered, list, display, problems, ie6, bug, making, unordered, list, unordered, list, couses, padding, appe
- Help Making A Web Adress Bar Using Html/js
(9)
I Need Some Help With Flash And Div Overlay
using wmode in IE problems (4) Hi guys, I have a problem with one of my designs at the moment. Here's the problem: I have a
flash game in the middle of a page. However, the site navigation has dropdown menus that go on top
of the flash. Now, the navigation works if I use "wmode = transparent" or "wmode = opaque" in the
flash code. Yet, there is another problem: In Internet Explorer (I'm running version 7) the
arrow keys "up" and "down" in most flash games will not work properly. Instead, they will make the
page scroll up and down, even if the flash file has focus. This situation does not exi....
Updating Website, Ftp Problems
(5) 2 problems! a) how do i update my website??? like if i make changes to the code of say my
index.html page, how do i make these changes take place on the website online?? /cool.gif"
style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" /> how come my ftp uploads my
files to a file under my public_html folder but also under a folder with my user name
(public_html/username ) ??? this makes it so the url of my site isnt www.abc.trap17.com anymore
but www.abc.trap17.com/username/ ---- this makes no sence!!....
Problem With My Email : [urgent]
Can't send or receive email. (1) Hi, I'm having a serious problem. I had a mail account set up through my Cpanel. My site is
zoebelkin.co.cc and my mail server is mail.zoebelkin.co.cc!!! The mail account which
I'm talking about is admin@zoebelkin.co.cc But for a week I was not getting mail. Now
that's wierd cause I get something around 10 mails daily. I then sent a mail from one of my
other mail id at other mail host whose address is dave2@bluebottle.com just for testing my server.
But the message didn't ever reach my mail server. I sent many other mails from some other mai....
Span "display: _____" Problems
block vs inline (2) Figured out my problem (didn't know you can't assign absolute values to inline elements).
Mods please delete this when you get the chance. Thanks.....
Flash Problem
sometimes the buttons will load the wrong link. (7) Its weird but sometimes when you hit the forums or roster button on my flash banner it will load:
www.childrenofconan.trap17.com/index.html instead of what its suppost to. It works fine, but if you
mess around and click the buttons for a little bit you will notice this happening. This is a problem
because people visiting the site will sometimes click the button once and be like oh I guess the
link is broken and never come back, if anyone has a solution to what could be the problem it would
be awesome. This is one of my first custom flash banners and im just confused what....
I'm In Love! Now What Do I Do?
This is the first time I've ever had a problem with a girl. (6) I am a jock, I'm man enough to admit it. I'm one of the big strong men on campus. I've
never had a problem asking out, flirting, or approaching girls. Unless it comes to this one girl.
I've known her since 8th grade and fell in love with her the first time I saw her. After I got
to know her a little more she turned out to be even more amazing. But, she isn't the same as
most girls when it comes to giving off signals. I don't think she has ever even gone out with
anyone, so I don't want to come on overly strong and just skip dating and t....
Problem With Time/date On My Computer
(6) This strange issue has been happening to me recently. I notice that when I shut down my computer,
and then start it up the next time, the time and date of my computer remains the same as that of the
time and date that I shut down my computer, and it continues from that time and date until I adjust
it manually myself. For example, if I shut down my computer on 3 May 2008, 10pm, even when I switch
on my computer on 4 May 2008 9am, the date and time shows 3 May 2008, 10 pm. I don't understand
why, I did not automatically synchronize it with an internet server, and I....
Gamma Servers' Problem
This topic is for all who have their account on Gamma Server & ha (1) Okay I see a lot of chaos all around and my site zoebelkin.co.cc is still down. Everything including
FTP, CPanel etc are down. My site is on the gamma server. I see that all the servers are moved
around a lot and the IP blocks also changing. So what is the new IP set for 'gamma'. When
doing a reverse check on gamma I see it is still assigned to it's previous IP but when I'm
trying to access the previous IP's port 80 then I get a Server not found error. Also the
gamma.xisto.com name for the server fails to open the default Apache page which it used to ....
Yuri's Revenge Lan
Problems with something... (0) Ok, so my friend came over to my house the other day to verse me on a game of good 'ol
Yuri's Revenge... So, both computers have the IPX thing installed with the network address at
0000002 (forgot exactly how many 0's there are supposed to be) with the network type set to
802.3... So, then I disconnect from the internet and connect to my friend's computer through a
crossover cable, I turn off all my firewalls (Windows Firewall & ESET NOD32 firewall), so does my
friend... I open Yuri's Revenge and go to Options -> Network to see if everything is cor....
Ip Problem
(2) I CANNOT ACCESS MY SITE: http://pinoyteens.net from IP: 124.6.174.5 and 222.127.170.30 I'm
having a dynamic IP, this really begins to suck.....
Connection Problem!
??? (3) There are many softwares which need internet connection, and there is a problem. The program itself
does connect to the internet at my home and different places, but not at my University! So, how
can I force this program ti be connected to the internet. The thing is the internet is present, but
the program, somehow, can not find it. List all the ways!!!....
I Have A Problem With A Question
R.S. question does not make logical sense (8) I was doing a mok exam for my R.S. GSCE (Religous Studies) and it was the paper from the previous
year i think. Then a question came up "the amount of religion in the is proof god exists, do you
agree? give reasons for both sides of this argument" So whats the problem, the problem is it is
logically impossible to argue both sides Why? : Proof means something that establishes something a
true or factual beyond all arguable doubt. So if i were to argue that it is proof for why God
exists, which i wouldnt because it isnt, for me to argue that it isnt proof would make t....
Can Anyone Help Me With My Graphic Card - 8600 Gt
temperature problem :D (8) Hi, My system specs are as follows: QUOTE Processor : Intel Core 2 Quad Q6600 @ 2.4 GHz
Motherboard: nVidia 650i Ultra RAM : 2 GB GfxCard : XFX 8600 GT (512 MB) Problem is all of my
nVidia component are now managed by a single Control panel - nVidia Control panel and it doesn't
show any tab for graphic's card temperature. I want to know the temperature of my graphics
card. does any body know any software for this ?? or at least a work around ? thanks /biggrin.gif"
style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
List Of Free Directories To Submit Your Websites
(2) Hi: Submission in free directories is a world-known way to increase ranking and traffic. But most
of you don't know a good source of that list of directories. Here is a great source of free
directories list . Just start submission in those directories in your free time, and see you
ranking.......
Rpg Maker 2003 Music Problem
(1) I have been working with RPG Maker 2003 and I have run into a problem. When I open the BMG tab I
try to listen to music. However, when I click play nothing happens. I have the Rtp file with the
standard midis in it. But they just wont play. The WAV files included do play. The only way they
seem to play is if I put all of the files into my windows media player. Once the first song has
played and as long as the player is running I can listen to songs via the RM2K3 program. However,
if I stop the player or mute the player I can't hear them on the program. I'....
Two Lan Ports Problem
cant connect to counter-strike server (1) here....i think i know the problem...but i cant find the solution.... I use windows XP SP 2 ...Asus
motherboard.. I use integrated Ethernet port (NVIDIA nforce controller) to connect to the hostel LAN
and used the same connection to get internet (using proxy). I played counter-strike without any
problem... Everything worked fine until i took a direct ADSL internet connection... So i installed
a separate ethernet card (INTEX rtl8139D) which i use to connect to the internet... So now i have
two LAN ports ...one for internet and one for LAN... The problem is...i cant con....
Wireless Router Problems.
Keeps dropping network. (7) I recently bought a laptop(HP Pavilion dv9000) with integrated wireless and I wanted to set-up
wireless in my house. So, I bought a wireless router, more specifically I bought a Netgear 108mps
router, http://www.amazon.com/gp/product/B0000C0XS0 . Now I got the wireless router before I got
the router and set it up. But made all of the correct connections and ran the setup wizard. I got no
errors or anything. I set the security to WPA2 and set the passphrase and everything correctly also.
Now, when I got my laptop I set it up and everything and it found my wireless netw....
Starting New Business With Others
I need help in making my decision (11) Like everyone in here does, I design websites. There was this man whom I met and who wanted a
website designed for his Non Governmental Organization and another website designed for a Tourism
company he wanna start off with some other people. After looking at the mightiness of the job, I
told him that he would be paying the sum of N550,000 ($4,230 approx). He said that he doesnt
have that kinda money at the moment, but he also made me a proposal which is: Design the website
and get paid.... or Design the website and dont get paid but you will get a share in the tou....
Problems With The Sony Ericsson S500?
(6) Hey guys, I plan to buy the Sony Ericsson S500 soon. I've tried reading a few reviews and I
stumbled across a post which said that the keys of the S500 are cracking!!! Is that
true? Does anyone own the Se S500. I've already fallen in love with the phone and it would be
sad if the phone was defective!!! Heres a peek at the phone. You guys will fall in love
a well!!!! http://www.sonyericsson.com/spg.jsp?cc=GB&...p&pid=10854 Here are
some of the features that are unique to this phone: -- Lights very similar to the Nokia ....
Dandruff Problem
(27) I am a average built, Indian, Male, aged 20 person. I have a very serious problem with the
dandruff. It comes back within an hour after taking a head bath. It is bothering me a lot. It is
very itching and really irritating. I have tried applying lemon on my head but in vain. The dandruff
still comes back. My mom advised me not to apply lemon too much on head so I have stopped applying
that also on head. I went to a doctor and he asked me to shampoo hair with a medicated shampoo
called SELSUN. But still the dandruff problem is lasting and with no effect with the medic....
Free Sms Site
List of free SMS sites (4) I start this topic for us to post free sms working site. If anyone of us have a free sms site that
works, don't hesitate to post it here! Thank to all of you to participate. /wink.gif"
style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> EDIT--- Kindly give
description about the SMS site, if possible :-)....
Making Games
With Game Maker (16) Hi. /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I just
wanted everyone to know(if you didn't know already. /smile.gif" style="vertical-align:middle"
emoid=":)" border="0" alt="smile.gif" />) of a pretty cool program called Game Maker. From my
experience with it, it's very simple, yet you can still make awesome games with it. Now, when I
say "awesome" keep in mind, you won't be able to make games like "Halo" or something like that
with it. But you can make pretty cool games still, it is capable of 2D and 3D games, alth....
Dvd Drive Problem
It Wont Read Anything! (7) Recently my DVD drive was playing everything, today i put a dvd disk in, it says nothing comes up
with no auto play or nothing loads at all. so i go to my computer and load from there, it dont load.
It says please insert disk... Im like WTF so i put a cd disk in and the same exact thing happened. i
tried about 7 different disks including cd and dvd disks and burned ones too. Nothing at all, So i
go to google and check around for tuts on fixing this, it gives me this registry thing. Like delete
lowerfilter and upperfilter in this folder. I do it, Still nothing happens, so....
Problem Installing Sims 2 Nightlife
update failure (23) I have the Sims 2. I tried to install Sims 2 Nightlife expansionpack. He reches 100 % with
installing the game...then he automatically run the updat for the sims 2. But when he's going
trough the files he stops st the file: CSBin/package.exe He says there is a error, and then when I
click ok, install terminates and goes back from 100% to 0%. Can anybody tell me what's going
wrong here? Has anyone else had this problem? I just can't figure it out. And on the internet I
found a few people who had the same problem but just havent had an solution for it yet. Ca....
Making A DSL Connection Auto-Connect On StartUp
how would you do this? (5) Ok a have a question.. I searched google but i didn't find a lot of stuff. So here is my
problem: I have DSL connection on my cousin's computer and i want the computer to auto connect
on windows startup...I have copied the shortcut of my connection to startup folder but it doesent
want to connect /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> anyone
knows some other tricks for this? /smile.gif' border='0' style='vertical-align:middle'
alt='smile.gif' /> ....
Give Me Website Ideas..
Website Ideas : Something original. Ideas for making a site (26) Website Ideas I'm deciding to take down my site, it's getting kind of old and
boring, but I don't want to just stop with having a site. I need some ideas for something that
provides a service of some sort to people. There are millions of blogs, I really don't want to
post about my life on a daily basis anyway. All ideas will be welcomed, I can't seem to think
of anything at all, so Im asking you. What could my new website be about?....
Super Smash Brothers 3
with character list! (43) Super smash brothers 3 will be coming out with the new nintendo revolutions. They say it will
support up to 8 players. I've seen most if not all of the characters that will be featured in
this game, and i must say this will be a heck of a fight. Here is the character list: QUOTE
Dr. Mario FLudd Mario Tanooki Mario Mario Luigi Shadow Mario Frog-suit Mario Hammer-suit Mario Yoshi
Boshi (LOL, yoshi's rival) Capt. Syrup Peach Daisy Bowser Bowser Jr. Koopa Viruses Wart Birdo
Magikoopa Donkey Kong Diddy Kong Dixie Kong King k. Rool Petey Pirahna Toad Wario Waluig....
Free Classified Ads--no Hype
Regional ads with photos at Craig's List (3) Craig's List has been around forever and it just keeps getting better. There's no hype, no
popups, no banners, just legitimate ads with photos that really pull. Our son sold 2 items over
there last month. You have to renew them or they fall off and it's best to cancel and re-list
your stuff, weekly, to stay near the top. /smile.gif' border='0' style='vertical-align:middle'
alt='smile.gif' /> Craig's List ....
C Code, Can U Solve This?
Another interesting problem (22) Hello, Look at the code given below CODE void fun(void) { /* Put your code here so
that main does not print 20 */ } int main() { int i = 20; fun();
printf("i = %d\n", i); return 0; } 1. You are allowed to put your code
ONLY in fun. 2. You are not allowed to change even one character in main. 3. You should not use
functions like exit(),abort() in the function fun. How do I manipulate and change the value of i?
Have fun.......
Looking for , problem, css, unordered, list, display, problems, ie6, bug, making, unordered, list, unordered, list, couses, padding, appe
|
|
Searching Video's for , problem, css, unordered, list, display, problems, ie6, bug, making, unordered, list, unordered, list, couses, padding, appe
|
advertisement
|
|