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
problems increasing page size IE.mozilla, opera
Old 05-22-2010, 09:09 AM problems increasing page size IE.mozilla, opera
Novice Talker

Posts: 14
Name: Steve
Trades: 0
Hi
pulling my hair out on this so any help would be appreciated

I have built a page that effectively renders 2 buttons below some text which is on a background image.

I need the page to stay in live when the use increase or decrease the page using cntrl + or cntrl - I really want thw expansion to come forward so the buttons dont drop but this isnt the case.

http://www.thebigshot.co.uk/v2/splash-new.htm

irionically, the expansion drops in in mozila, opera, mac etc etc but when i come to run cntr +in IE , the expansion is different. The text stay in the middle as is as i would which. I think its related to how the scrol bar on the righ works but dont know how to sort

ive listed the code in all below .. any help with this would be much appreciated as working on a gone now past deadline. seriosuly doing my head in.


Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
html, body {
    height:100%;
    width:100%;
    margin:0px;
    padding:0px
}
div#splash {
    width:100%;
    height:100%;
    background:#000000;
    background-color:red
}
/* upadted by stephen mason 19th/may/2010 */

div#splash-background {
    background-image:url(images/html/splash_1024_bg.jpg);
    background-position:top center;
    background-repeat:no-repeat;
    background-color:#000000;
    width:100%;
    min-height:670px
}
*html div#splash-background {
    background-image:url(images/html/splash_1024_bg.jpg);
    background-position:top middle center;
    background-repeat:no-repeat;
    background-color:#000000;
}
/* end update */


div#splash-message {
    width:500px;
    height:200px;
    color:#fff;
    font-family:Arial, Helvetica, sans-serif;
    text-align:center;
    position:relative
}
#splash-message h1 {
    font-weight:normal;
    font-size:22px
}
#splash-message p {
    font-size:12px;
    letter-spacing:0.1em;
    clear:both;
    padding-top:30px
}

/* upadted by stephen mason 19th/may/2010 */

#splash-message a {
    color:#B0241E;/**/
    color:#B0241E;
    display:block;
    float:left;
    font-size:12px;
    font-style:italic;
    height:30px; 
    text-decoration:none;
    width:130px
}
#splash-message a#view_flash {
    background-image:url(images/html/html_btn.jpg);
    background-position: top left;
    background-color:#000000;
    background-repeat:no-repeat;
    float:left;

}
#splash-message a#view_html {

    background-image:url(images/html/flash_btn.jpg);
    background-position: top left;
    background-color:#000000;
    background-repeat:no-repeat;
     float:right;
    
    
}

/* end update */

#splash-message img {
    float:right;
    margin-right:5px;
    margin-top:2px
}
div#links {
    margin-top:80px
}
</style>
</head>
<body>
<!-- upadted by stephen mason 19th/may/2010 -->
<!-- container render html / flash buttons -->
<div id="splash-background" style="position:relative">
  <div id="splash-message"  style="border:1px solid red;  
                                   height: 328px;
                                   margin:-40px auto;
                                   width: 500px;
                                   position:relative; 
                                   margin-bottom:; ">

  
    
     <div id="" style="height:10px;border:1px solid red;position:absolute;bottom:10px; width:auto;margin-left:70px;">
     
       <a  target="_self" title="View flash site" id="view_flash" 
    href="http://virgin.lessrain.net/en/gb/flash_on/home/"></a>
    
    
    
    </div>
    
      <div id="" style="height:10px;border:1px solid red;position:absolute;bottom:10px;right:0;width:auto; margin-right:70px">
    <a target="_self"  title="View HTML site" id="view_html" 
    href="http://virgin.lessrain.net/en/gb/flash_off/home/"></a>
    </div>
    
    </div>
 
    </div>
     
  </div>
</div>
<!-- end update -->
</body>
Thanks for much if you have some in put to this ...

regards
steve

Last edited by don1967; 05-22-2010 at 09:20 AM..
don1967 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-22-2010, 09:31 AM Re: problems increasing page size IE.mozilla, opera
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It has nothing to do with the scrollbars -- it's how zoom works in each browser, combined with the way your layout is done. Using position:absolute is not optimal and certainly not helping you in this case.

http://zomigi.com/blog/why-browser-z...xible-layouts/
__________________
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 05-22-2010, 02:49 PM Re: problems increasing page size IE.mozilla, opera
Novice Talker

Posts: 14
Name: Steve
Trades: 0
ok so im fairly newby to all this perhaps you could explain how i could overcome my problem with out using absolute.

cheers
don1967 is offline
Reply With Quote
View Public Profile
 
Old 05-23-2010, 05:00 AM centering a box in middle of screen
Novice Talker

Posts: 14
Name: Steve
Trades: 0
any help wuld b good
don1967 is offline
Reply With Quote
View Public Profile
 
Old 05-23-2010, 05:38 AM Re: problems increasing page size IE.mozilla, opera
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Use the document flow and keep positioning (of ALL kinds) to a minimum.

use relative dimensions, % & em for sizing elements.
__________________
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 05-23-2010, 06:21 AM Re: problems increasing page size IE.mozilla, opera
Novice Talker

Posts: 14
Name: Steve
Trades: 0
Ok thats very helpful thanks

could i ask one other question..

Becuase i have tab ie in mozilla, they are preventing the background image fullly rendering in the page. is there a tric i can use that will enable the back ground to should on the whole?
don1967 is offline
Reply With Quote
View Public Profile
 
Old 05-23-2010, 01:55 PM Re: problems increasing page size IE.mozilla, opera
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
they are preventing the background image fullly rendering in the page
If you're using floats, make sure you CLEAR THEM - see our stickies for methods for clearing floats
__________________
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 05-24-2010, 12:22 AM Re: problems increasing page size IE.mozilla, opera
Average Talker

Posts: 21
Name: Martin Johnson
Trades: 0
Yes making your content viewable cross browser is a bit tricky at first but not hard after you know how to use the elements correctly.
Webbster21 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to problems increasing page size IE.mozilla, opera
 

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.40815 seconds with 12 queries