So im trying to insert a banner into my web page with the code below but when i set width/height with pixels, the banner isnt setting centralized.I mean for my resolutin it looks fine but on other one it looks terrible.
SO my question is can i set percentage instead of pixels? If its posible can you show me an example?
in the red marks is the centralizing error.
with blue is the navigation bar wich i cant center it between slideshow and banner.Even if it show me centred on a different resolution is a little bit in left or right.
I know the rules.I just want to know my mystakes,im still a kid and this is the best way to learn those codes.
Besides i dont even know much english so its hard for me to understand what you are saying.Thanks in advance
To answer your question yes, you could use percentages instead of pixels. That may not be the best practice here,like andrew said the percentages would be determined by the parent element. Are you familiar with the box-model plot?