Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Adding floating text boxes to a web page
Old 07-21-2008, 09:31 AM Adding floating text boxes to a web page
Junior Talker

Posts: 4
Name: Chris
Trades: 0
I'm going crazy trying to add two text boxes and and Iframe to a site. I have added them so that they look fine in a normal window but if you shrink the viewing window or have a lower screen res then the text boxes move.
To see what I mean, please view http://www.goosehill-holidaycottages.co.uk
NOT AN ADVERT by the way just a guy in real distress. If you shrink the window size the text at the bottom and the flickr I frame don't move with the rest of the page.

Any help will be appreciated.
__________________
Have Fun - Go Mad
Beakerfm is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-21-2008, 01:28 PM Re: Adding floating text boxes to a web page
seocd's Avatar
Super Talker

Posts: 128
Name: Ryan
Trades: 0
change your position styles that are set to "absolute" to "relative". You may have to do some positioning adjustments but at least they will match the rest of the page when you shrink or maximize.
__________________
SEO Compatible
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
seocd is offline
Reply With Quote
View Public Profile
 
Old 07-21-2008, 01:39 PM Re: Adding floating text boxes to a web page
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
but if you shrink the viewing window or have a lower screen res then the text boxes move.
Wrong way around. The boxes DON'T move with the rest of the elements.

position:absolute means exactly that! The elements stay absolutely in that same position regardless of browser window size.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-21-2008, 02:20 PM Re: Adding floating text boxes to a web page
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You need to get rid of the positioning anyway, it's simply not necessary. Learn to use the normal document flow, along with floats, and positioning only becomes occasionally necessary.

Also get rid of the tables - that nav can be done easily with an unordered list, no reason for it to be stuck in a table.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-21-2008, 04:18 PM Re: Adding floating text boxes to a web page
Junior Talker

Posts: 4
Name: Chris
Trades: 0
Thanks you all for your speedy replies. I shall have a go at your suggestions. Very much appreciated.
__________________
Have Fun - Go Mad
Beakerfm is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Adding floating text boxes to a web page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.88254 seconds with 12 queries