Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-22-2011, 07:58 PM   PM User | #1
---Beany---
New Coder

 
Join Date: Feb 2011
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
---Beany--- is an unknown quantity at this point
Best way of making this site

<Newbie question>
Hello peeps. Hopefully someone will be able to point me in a correct direction with building this site.
I'm new to html/css and have pretty much been winging it, which has proven to be unsuccessful.

Here is the design layouts for the main page and subsequent pages (it's of an adult nature but nothing pornographic can be seen):





My initial attempt was to create centre the main image as a background image and to have all buttons/text etc overlay it. This resulted in the background image moving when resizing the browser and all buttons staying in the same position.

My next attempt was using layers. Having the main image as a regular image and using layers to add images on top. The main hiccup hear was whenever text was resized via the browser it would shift the other objects about.

So now I'm asking would be the "Proper" way of building this site to avoid these problems (Which I'm sure are results of me winging it)?
My thoughts now are to split the main image into seperate objects so that each added object doesn't overlay anything, as everything is it's own "puzzle piece". This is kinda how it's suppose to be built right?

Thanks
Beany
</Newbie question>
---Beany--- is offline   Reply With Quote
Old 02-22-2011, 08:11 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello ---Beany---,
I would say your first attempt would be the way to go -
Quote:
My initial attempt was to create centre the main image as a background image and to have all buttons/text etc overlay it. This resulted in the background image moving when resizing the browser and all buttons staying in the same position.
Do you have that code so we can see it? A link to the test site would be best since we don't have your images.
I think all that approach would need is to have the right elements relative.

See positioning here.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 02-22-2011, 08:51 PM   PM User | #3
---Beany---
New Coder

 
Join Date: Feb 2011
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
---Beany--- is an unknown quantity at this point
Thanks Excavator.
I don't have anything upoloaded yet.
How about I email you the code and graphics in it's correct folders?
They are pretty small in size.
Beany
---Beany--- is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:06 AM.


Advertisement
Log in to turn off these ads.