I need some help with coding, Coding website templates |
I need some help with coding, Coding website templates |
![]()
Post
#1
|
|
![]() "One hell of a butler" ![]() ![]() ![]() Group: Member Posts: 95 Joined: Nov 2008 Member No: 696,422 ![]() |
I'm having a hard time coding my layouts so that it can be aligned correctly with all computer screen widths.
For example, I code/design my layouts on a laptop and the screen is really wide. Then I go view the layout on another computer with a thinner screen width and everything is misaligned and just horrible. What can I do to fix that? |
|
|
![]() |
![]()
Post
#2
|
|
![]() Live long and prosper. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 10,142 Joined: Apr 2007 Member No: 514,926 ![]() |
Use semantic xhtml.
![]() w3schools.com |
|
|
![]()
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 2,648 Joined: Apr 2008 Member No: 639,265 ![]() |
Use semantic xhtml. ![]() Is that really going to help? Aside from the fact that XHTML is rarely a better choice than HTML, "semantic" (X)HTML won't solve layout problems if you're using CSS. The issue is that the OP should use elastic units for CSS (em's, %'s, etc.), use absolute positioning sparingly and only "correctly", and try to lay things out in a resolution-agnostic manner. |
|
|
![]() ![]() |