Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
CSS list center align doesnt work!
Name: killgasm Date: November 1, 2005 at 14:18:41 Pacific OS: win XP home CPU/Ram: 3.2ghz 512mb DDR
Comment:
this is so annoying, im trying to get to grips with CSS and am trying to make an inline list that is center aligned. ive specified it to be center aligned and it shows up correctly in dreamweaver, but when i preview it in a browser its always to the left! arrrrgghghghhgh!!!
Name: Michael J (by mjdamato) Date: November 2, 2005 at 06:55:05 Pacific
Reply:
Well there could be any number of things going on here. Which browser(s) did you test? IE does not adhere to the standards as well as others generally do. Plus, dreamweaver could be displaying it incorrectly - I've neevr relied upon a WYSIWYG editor.
Also, where is the list located? Is it within a table cell or div or what?
Adding style="text-align:center;" inside the list opening tag works for me.
Michael J
0
Response Number 2
Name: crandall87 Date: November 2, 2005 at 12:12:32 Pacific
Reply:
i am surprised that it shows up correctly in dreamweaver. maybe it was set to centre align with html instead of css My Website
Summary: Its funny, but I have 2 jsp pages and i am trying to add an anchor, the content of the target page os contained in a div. When i add the anchor to the bottom of the page it works ... but when in the c...
Summary: <table border='1' bordercolor='#ffffff' width='76%'> <td width='10%' bordercolor='#000000'><center>Name</center></td> how would you guys go about using css on this. i tried it and it do...
Summary: Hey, having a bit of a positioning problem. All I want is for a flash movie to be positioned at the absolute bottom of a simple page. Seemed to work fine (in firefox) but I tried it later on in IE and...