Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 11-14-2006, 06:59 PM
wulf2001's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 08-01-05
Posts: 143
iTrader: 0 / 0%
I feel like a noob once again

Alright guys this isn't the first time I'm having this problem... its a constant problem which doesn't seem to be going away no matter what I do...

alright I set up a class in CSS with this code....

Code:
.header{ width:777; height:328; background-image:url(images/header.jpg); }
then I apply it to a HTML table cell... now the background image is there however the cell doesn't take on the height and width properties... I've tried numerous css functions to get this working but to no avail. If anyone knows what I'm doing wrong please clue me in before I'm sent to the emergency room with my head split in two...

thx,

P.S - I've tried applying it to a div and a span and I get the same results that I do in a table cell.
 
Reply With Quote
  #2 (permalink)  
Old 11-14-2006, 09:36 PM
exam's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 04-20-06
Posts: 278
iTrader: 0 / 0%
You need to specify the measurement unit for the width and height. In this case, use header{width:777px;height:328px;} Other units are em, %, pt, etc.
__________________
~exam~
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > 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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you feel you owe society something? StrongInTheArm Forum Lobby 18 02-18-2008 12:30 PM
What do you feel when you see this website? John M Graphic Design Forum 31 10-06-2006 02:17 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:36 PM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.