Webmaster Forum


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

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 12-17-2007, 11:54 PM   #1 (permalink)
Junior Member
 
Join Date: 12-14-07
Location: Virginia Beach
Posts: 21
iTrader: 0 / 0%
Latest Blog:
None

digitaloverlay is liked by many
Send a message via Yahoo to digitaloverlay
Getting irritated with CSS!!

Ok, I need some help. I have recently attempted to add CSS, PHP and MySQL to my arsenal but am having some problems with CSS (not a good start huh). Anyway, here is my link to review my Piece of crap attempt at getting my menu to line up with my background image www.digitaloverlay.com/test/index.htm.

It looks good on my desktop in FF but lousy in IE (what doesn't) but when I upload it looks bad in both.

Here is my code to the CSS file called menu.css. If you can help, it would be greatly appreciated.

ul
{
float:left;
width:80%;
padding:0;
display:inline

list-style-type:none;

position:absolute;
left: 250px;
top: 135px;

}
a
{

text-decoration:none;
color:white;
background-image:url("menubuttonbg.png");
padding:0.2em 0.8em;
border-right:1px dashed white;
border-left:1px dashed white;
}
a:hover {background-image:url("menubuttonbg1.png");}
li {display:inline}
digitaloverlay is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-18-2007, 04:24 AM   #2 (permalink)
v7n Mentor
 
Boogle's Avatar
 
Join Date: 09-03-07
Location: England
Posts: 645
iTrader: 0 / 0%
Latest Blog:
None

Boogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really nice
Hi digital overlay. To me, the HTML is your problem. I can't understand why you're using a table which holds divs? IMO it should be that the CSS works best with DIVs and should you need to display tabular data at any point then you put a table in a div to do this.

You would find it works better if you wrap the menu picutre (the big one) and then menu list (which is created correctly btw- nice one!) in a wrapperDIV, then put the large pictue in a div and the menu in a div directly below it. This is all you need for this banner to work, i.e.
HTML:
[code]
<div id="wrapper">
<div id="largepictureconitainer"></div>
<div id="menu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About Digital Overlay</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Porfolio</a></li>
<li><a href="#">Freebies</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
</div>
[code]

That's just an example and now you wqould hav to slightly change your CSS but not much and you would find this is much neater, less complicated HTML and it's probably more XHTML valid...

HTH's

Boog's
__________________
Great new 'June' Javascript Framework
June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-18-2007, 08:38 AM   #3 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
Quote:
ul
{
float:left;
width:80%;
padding:0;
display:inline

list-style-type:none;

position:absolute;
left: 250px;
top: 135px;

}
^^^ That says it all....

I mean no offence here David, but before you start offering freelance services you should know (and here I mean: mastering) the technologies you want to use for your future customers (Like CSS, HTML...)
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-18-2007, 09:15 AM   #4 (permalink)
v7n Mentor
 
Boogle's Avatar
 
Join Date: 09-03-07
Location: England
Posts: 645
iTrader: 0 / 0%
Latest Blog:
None

Boogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really niceBoogle is just really nice
Oh god, yeah i missed that! I just viewed source on his link!

You should check w3c for the correct explanation of the CSS commands you've used there, David.

Boogs
__________________
Great new 'June' Javascript Framework
June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google supportdesk irritated (funny) sabo Google Forum 3 01-05-2005 11:26 PM


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


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