• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Html/css

Joined
May 27, 2005
Messages
3,651 (0.79/day)
Likes
341
Location
Little Rock Arkansas, United States
System Name Monolith
Processor Intel Xeon E3110 Wolfdale@3.5GHz
Motherboard MSI P35-Neo
Cooling Active Air
Memory 4GB DDR2 800
Video Card(s) Sapphire HD 3850 512MB PCI-E
Storage 1 x 80GB Internal, 1 x 250GB Internal, 1 x 40GB External
Display(s) Acer X203w
Case Generic black case with locking front bezel
Audio Device(s) Creative SB Audigy 2 ZS
Power Supply 500 Watt Seasonic M12
Software Windows 7 Ultimate x64
#1
Is there a way using HTML or CSS to make a webpage layout to look the same when viewed at differnet resolutions. Everything seems to get out of allignment when viewed at different resolutions.
 

G.T

New Member
Joined
Nov 17, 2005
Messages
573 (0.13/day)
Likes
0
Location
The other side of Hell
Processor 3.20E GHz P4 Prescott
Motherboard Asus P4P800-E Deluxe
Cooling Zalman (CNPS7000B-CU) Super Flower Cooler + Ultracool II fan controller
Memory 2 Gig Mushkin HP 3200
Video Card(s) Leadtek A6600GT TDH
Storage 2 x WD 10k 74GB Raptors in RAID 0 (OS), 2 x WD 80GB SATA RAID 0, 1 X Maxtor 250GB ATA (Media, music)
Display(s) Samsung 19" TFT SyncMaster 913N
Case Antec Plusview Iii (Modded front) 1000AMG SOHO File Server - 5X Antec UV reactive fans - 2xUV tubes
Audio Device(s) Creative X-FI Fatal1ty FPS running through Creative Inspire 6.1 6700 speakers
Power Supply Hiper Type-R 580w Blue with UV cables
Software XP pro (Legit) & shitloads that isn't >:] /serial Brycer and FraxFlamer :)
#2
One way is to use your code to set everything set with pixel sizes rather than with percentages. This can cause headaches though as you have to count every pixel you use to ensure you get no extra bits or chunks missing.

You could use a table at a set width and or height and then add your content inside it so it is contained at your desired size no matter what screen res people have.