Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

Website design help
show user profile  3joez
I know lots of you design webcode.
I suck at it.
I've tried everything to center my head image, but I couln't do it. In the html I've got this

header id = "top"
img src="Images/Header.png"
/header

and this as css

#top{
width:900;
height:74;
margin: 0 auto;
}

The sucker stays to the left.


ps. holy f**k I deleted the brackets 'cause the forum was reading my html lines as code.
read 355 times
7/4/2013 3:56:30 PM (last edit: 7/4/2013 4:06:56 PM)
show user profile  Stephen R.
add *px after the width value.

numeric values require a unit type (px, pt, em, etc) so your height value will need one as well.


you can use jsfiddle (http://www.jsfiddle.net) to post an example of your problem to avoid the html rendering problem.





read 327 times
7/4/2013 10:35:18 PM (last edit: 7/4/2013 10:38:16 PM)
show user profile  3joez
You are the man, Stephen.
read 296 times
7/5/2013 8:20:05 AM (last edit: 7/5/2013 8:20:05 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org