17 replies [Last post]
jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

Sad Hi i am new to this site and webdesign i han creating a website for my project with css only i dont know if u can do that but i have tried and its working so far but there is a problem with the layout of my website i am using absolute positioning for everything,it looks good on my screen but when i tried to resized the window everything moves.How can i make them fixed on the window and can i do that.

jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

help

anyone

Triumph (not verified)
Anonymous's picture
Guru

What's the matter with this

What's the matter with this place? This guy's been waiting for 8 WHOLE MINUTES!!!!

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 3 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

LMFAO

Triumph wrote:

What's the matter with this place? This guy's been waiting for 8 WHOLE MINUTES!!!!

LMFAO

scope1000
Offline
Regular
Last seen: 12 years 44 weeks ago
Joined: 2008-10-30
Posts: 33
Points: 0

Depends what you mean by

Depends what you mean by 'everything moves'. Nothing will move because you have used 'absolutely positioned' layers, not a good choice. They might appear to move but its actually everything else thats moving.

You can lock absolutely positioned layers by inserting them into a relatively positioned

i.e. a wrapper which encloses the whole lot. Without seeing your code its difficult to assess what needs to be done. A lot of the time absolutely positioned layers are beyond help, just depends how many you have used, where and for what.

Supply a link to the page or paste some code/css here and someone may give you some more advice.

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 3 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

Get a book

jas001,
absolute positioning is not recommended for positioning everything. This should only be used if nothing else will work. Positioning isnt an easy thing to understand without research. I suggest you get your hands on a CSS book. Also, please provide us with your code and or a link to your test site for further help.

absolute positioning is like sticking a post-it note on your screen. It is not flexible, much.

jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

This is the Code as you can

This is the Code as you can see i am trying to create my website using only css, i don't know if its possible.

#box{
border: 1px solid yellow;
margin-left: 0px;
margin-top:0px;
padding-left: 15px;
padding-top:0px;
padding-bottom:10px;
padding-right:0px;
background-color:#ffff00;
font-family: Amienne,Arial ;
color: red;
z-index:1;
}
#style{
font-size: 60pt ;
font-weight: bold ;
}
a{
text-decoration: none;
color: blue;
}
#rightcontent{
position: absolute;
left: 650px;
top: 160px;
z-index: 2;
}
a:hover{
background-color: red;
}
#column{
position: absolute;
left: 200px;
top: 200px;
}
#column2{
position: absolute;
left: 400px;
top: 200px;
}
#box2{
position: absolute;
top: 200px;
left: 600px;
border: 5px dashed red;
font-weight: bold;
padding-left: 30px;
padding-right: 30px;
padding-bottom: 0px;
}
#box3{
float: left;
border: 2px dashed blue;
}

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 31 weeks 6 days ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Um, without html CSS is

Um, without html CSS is meaningless. Web pages are created only in html, and CSS only styles that. Unless you do your html right, furthermore, there is no way to fix up your site with CSS. You might as well try to build a house without afoundation.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

I am creating my webpage

I am creating my webpage using html.My question is when i try to resize my window everything moves on different position i have tried relative position but still the same problem.

receipe home

Beauty Corner

247 the BroadwaySouthall,Middx UB11NFDermalogica skin care center

  • Electrolysis
  • Tinting
  • IPl/Laser treatments
  • Body treatments
  • Facials
  • Threading
  • Waxing
  • Bleaching
  • Manicure-Pedicure
  • Hairdressing
  • Hairstyling
  • Make-up
  • Heena

  • Are you suffering from
    • Sun Damaged Skin
    • Acne/Scarring. . . . . .

Dermalogica Skin Care Center

Bioskin

Getting Married?

Are you getting married and looking for the bet beauty parlour for you then you are at the right place please check the bridal
image gallery.Your wedding day is quite posisibly the most important day of your life. its a day where you will be the centre of attention, so it's natural you want to look as beautiful as you feel. Every bride deserves to be the very special lady of the day and look her best.

bridal image
jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

please have a look at the

please have a look at the code

Triumph (not verified)
Anonymous's picture
Guru

jas001 wrote:please have a

jas001 wrote:

please have a look at the code

Hurry up! It's been 4 MINUTES!!!!!

Triumph (not verified)
Anonymous's picture
Guru

Didn't I tell you ages ago

Didn't I tell you ages ago to hurry up??!?!

jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

but i have sent the code

but i have sent the code

jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

can you see the code

can you see the code

jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

i have tried tables but

i have tried tables but still the same problem. i want everything to be fixed like on other website i dont know how to do it, i know you can do that using templates but i dont want to use any template.

jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

help me please

help me please Smile

jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

jas001 wrote:help me please

jas001 wrote:

help me please Smile

anyone there can help me

jas001
Offline
Regular
london
Last seen: 12 years 47 weeks ago
london
Joined: 2008-11-04
Posts: 11
Points: 0

Triumph wrote:Didn't I tell

Triumph wrote:

Didn't I tell you ages ago to hurry up??!?!

are u really having a look or i am wasting my time