I need some help with coding, Coding website templates |
I need some help with coding, Coding website templates |
Jan 5 2010, 07:32 PM
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? |
|
|
|
![]() |
Jan 5 2010, 07:38 PM
Post
#2
|
|
![]() Live long and prosper. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 10,142 Joined: Apr 2007 Member No: 514,926 |
Use semantic xhtml.
w3schools.com |
|
|
|
Jan 5 2010, 08:21 PM
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. |
|
|
|
CandyPop I need some help with coding Jan 5 2010, 07:32 PM
FACreate position your DIV's using
CODEmargin: auto... Jan 6 2010, 07:55 PM
Mikeplyts There's always that little absolute positionin... Jan 10 2010, 02:40 PM
TheOn3LeftBehind QUOTE(Mikeplyts @ Jan 10 2010, 01:40 PM) ... Jan 24 2010, 09:57 PM
999Murderdoll666 Im having the same issue.Im pretty new to making m... Feb 15 2010, 11:34 PM
FACreate QUOTE(999Murderdoll666 @ Feb 15 2010, 11... Feb 17 2010, 04:34 PM
Mikeplyts Sorry to inform you, but I don't think there... Feb 15 2010, 11:38 PM
999Murderdoll666 I dont know what im doing wrong but margin:0px isn... Feb 21 2010, 09:35 AM
ahmad Could you post you code? Feb 21 2010, 10:16 AM
manny-the-dino Topic Closed, and Moved to Resolved Topics. Please... Apr 2 2010, 01:00 PM![]() ![]() |