Go Back   Computer Juice > Computer Software > Web Design, Hosting & SEO
Register Members New Posts Donate Unanswered Posts Site Spy Search


Reply
 
Thread Tools
  #1  
Old 05-01-2008, 08:09 PM
No Avatar
jack100  United Kingdom
CJ Member
 
jack100 is offline
 
Join Date: Oct 2007
Last Online: 20-06-2008 09:36 PM
Posts: 100
iTrader: (0)
jack100 is on a distinguished road
Default Liquid Design.

I have started to use CSS more recently but need to know how to implement 'Liquid Design' So people with different browsers, screen resolutions would view the CSS the same way. The easiest way to describe the problem is when you minimise the page none of the elements move. This is the css i have used:
[SIZE=2]#[/SIZE][SIZE=2]header[/SIZE][SIZE=2] {position:[/SIZE][SIZE=2]absolute[/SIZE][SIZE=2]; background-image:[/SIZE][SIZE=2]url[/SIZE][SIZE=2]([/SIZE][SIZE=2]headerbg[/SIZE][SIZE=2].[/SIZE][SIZE=2]png[/SIZE][SIZE=2]); width:[/SIZE][SIZE=2]800[/SIZE][SIZE=2]px[/SIZE][SIZE=2]; height:[/SIZE][SIZE=2]150[/SIZE][SIZE=2]px[/SIZE][SIZE=2]; margin-left:[/SIZE][SIZE=2]200[/SIZE][SIZE=2]px[/SIZE][SIZE=2];}
[/SIZE]
[SIZE=2]can anyone point out how to make this more liquid?
[/SIZE]
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #2  
Old 05-01-2008, 08:10 PM
No Avatar
jack100  United Kingdom
CJ Member
 
jack100 is offline
 
Join Date: Oct 2007
Last Online: 20-06-2008 09:36 PM
Posts: 100
iTrader: (0)
jack100 is on a distinguished road
Default Liquid Design.

Ok, that didn't work, i dont know how to disable HTML in these forums.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #3  
Old 05-01-2008, 10:10 PM
No Avatar
Cew27  United Kingdom
CJ Banned Member
 
Cew27 is offline
Send a message via MSN to Cew27
 
Join Date: Sep 2007
Last Online: 23-05-2008 03:18 PM
Age: 16
Posts: 1,854
iTrader: (0)
Cew27 is on a distinguished road
Default Liquid Design.

i dont really know what i am talking about but i know that div tags are best for different res and browsers as they move with it unlike app divs
__________________

My System: Cewy's wonder macine

CPU(s):
intel core 2 quad q6600 @ 3.2Ghz
Motherboard:
evga 780i sli
RAM:
4 gig ocz 1066mhz sli
Graphics Card(s):
nvidia evga 8800 ultra ko
Sound Card:
onboard
Hard Drive(s):
750 gig seagate, 32meg cache
Optical Drive(s):
3 asus dvd writers, lightscribe
Case / PSU:
gigabyte 3d aurora
Cooling:
arctic cooling freezer 7 pro
Network / Internet:
dual gigabit lan ports
Monitor(s):
24" dell 2408wfp
Operating System(s):
vista home premium 64bit / ubuntu 64 bit

Want your system info in your signature?
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #4  
Old 05-01-2008, 11:07 PM
cheesepuff's Avatar
CJ Donator
 
cheesepuff is offline
 
Join Date: Oct 2007
Last Online: Today 02:47 AM
Age: 15
Posts: 607
iTrader: (0)
cheesepuff will become famous soon enoughcheesepuff will become famous soon enoughcheesepuff will become famous soon enough
Default Liquid Design.

div stands for division and that doesn't really have much to do with that code. XHTML was made years back to make it so that all browsers see that same thing. some websites just don't use it, but almost all use XHTML. the CSS doesn't have much to do with it. there is already a universal language for this and it has already been solved and in use. i learned all this in my 1 semester of computer programing :D as for the screen resolutions, try "Ctrl" and "+" /"-"
__________________

My System: cheesepuff

CPU(s):
Core 2 duo E6300 OC @ 3GHz
Motherboard:
GIGABYTE GA-965P-DS3 LGA 775
RAM:
Corsair DDR2-800 XMS2 2GB OC @ 890MHz
Graphics Card(s):
8800GT 512MB
Sound Card:
Audigy 4
Hard Drive(s):
2 Maxtor 10 SATA 2
Optical Drive(s):
crap
Case / PSU:
Antec NineHundread
Cooling:
Thermaltake Big Typhoon w/ upgraded fan
Network / Internet:
DSL medium
Monitor(s):
22 inch 1680x1050 X2gen
Operating System(s):
XP home/Vista Ultimate 64Bit

Want your system info in your signature?

Last edited by cheesepuff : 05-01-2008 at 11:08 PM.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #5  
Old 06-01-2008, 11:18 AM
No Avatar
Carbon  United States
CJ Donator
Intel ATi
Carbon is online now
 
Join Date: Jan 2008
Last Online: Today 02:21 PM
Posts: 1,131
iTrader: (0)
Carbon will become famous soon enoughCarbon will become famous soon enoughCarbon will become famous soon enough
Default Liquid Design.

I think what he's trying to do is make the website scale across different res. To do this you will need to specify relative sizes in your tables like percent and em rather than pt and px.
__________________

My System: 日夏子 (Hikako)

CPU(s):
Intel Core 2 Duo E6400 Conroe 3.00ghz
Motherboard:
MSI P6N SLI Platinum LGA 775
RAM:
2GB Patriot Extreme Performance
Graphics Card(s):
PNY 8800GTS 320MB OC 660/951MHz GPU/VRAM
Sound Card:
Sound Blaster Xtremegamer 7.1
Hard Drive(s):
80GB + 500GB
Optical Drive(s):
2x SATA
Case / PSU:
Antec 900 + 620W Aerocool zeroDBA
Cooling:
200mm top + 2 120mm front + 1 80mm back
Network / Internet:
Comcrap
Monitor(s):
2x Hanns-G JW199D @ 1440x900
Operating System(s):
Windows XP + Vista (Dual boot)

Want your system info in your signature?
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #6  
Old 07-01-2008, 10:58 AM
No Avatar
dr john  United Kingdom
CJ Member
 
dr john is offline
 
Join Date: Oct 2007
Last Online: 21-04-2008 11:25 PM
Posts: 69
iTrader: (0)
dr john is on a distinguished roaddr john is on a distinguished road
Default Liquid Design.

Don't use tables for layout. Tables are for tables of data.

Set up a wrapper div. give it a size using percentages - say 80%, and preferable set a min-width and max width. But IE6 doesn't understand min-width and max-width, so you then have to add a conditional statement to the head to set the same min and max for IE6.
Min width is typically set at about 770 - 750pixels, max width at about 1000 - 950 pixels. This works nicely for the vast, vast majority of users.

You might want to center the wrapper div, so normally you add margin:auto to the css for that div.
But IE6 and below don't understand margin:auto. So you then also set text-align:center for the body, then text-align: left for the wrapper div. And that then works perfectly for ALL browsers.


Then inside the wrapper div, set the rest of your layout divs, again with their widths set in percentages (or one at a fixed width and one at a percentage).

The wrapper div then expands and contracts within sensible limits, and the divs inside it are forced to adjust to suit the width of the wrapper.

Last edited by dr john : 07-01-2008 at 11:00 AM.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #7  
Old 07-01-2008, 03:39 PM
No Avatar
jack100  United Kingdom
CJ Member
 
jack100 is offline
 
Join Date: Oct 2007
Last Online: 20-06-2008 09:36 PM
Posts: 100
iTrader: (0)
jack100 is on a distinguished road
Default Liquid Design.

Thanks all of this has stopped it from messing up in different reses and browsers, but everyting still overlaps when the browser isnt maximised fully.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Forum Design kanoakavirus Community News & Chat 61 23-05-2008 04:36 PM
Liquid Cooling Installation help! Compasky General Hardware Chat 2 21-01-2008 10:39 PM
liquid cooled psu xactly Cases & Power Supplies 3 03-09-2007 04:03 PM
how can i design a web site?.? musavunduka Web Design, Hosting & SEO 17 05-07-2007 05:44 AM
Liquid Cooling emmaonline General Hardware Chat 2 17-03-2007 09:51 PM


Copyright ©2006 - 2008 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.

Page copy protected against web site content infringement by Copyscape