Current location: Hot Scripts Forums » General Web Coding » CSS » i solved the other problem, but now IE says there is an error with scroll bars??


i solved the other problem, but now IE says there is an error with scroll bars??

Reply
  #1 (permalink)  
Old 05-04-07, 09:21 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation i solved the other problem, but now IE says there is an error with scroll bars??

So I fixed my overlapping issue, which is really cool! And I would like to thank everyone who helped because it helped!

Now there are some other problems. If you open napkinz.com in IE (i did it in IE 7, I don't have IE 6, but if someone does, I would like to know what happens). But if you open it and then click the horizontal bar, IE says there is an error. I am totally confused?

Also if you open napkinz.com in Firefox, and use the horizontal scroll to scroll all the way to right, you will notice there is a lot of empty space. How would I go about making that disappear?

Any help would be very helpful!
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-05-07, 03:07 AM
Vicious's Avatar
Vicious Vicious is offline
Community VIP
 
Join Date: Jan 2007
Location: Belgium
Posts: 584
Thanks: 0
Thanked 0 Times in 0 Posts
body: min-width = 1050px
main: min-width = 750px
right: min-width = 210px

750+210 = 960px

1050-960 = 90px

And 90px seems to be the amount of empty space on the right (Give or take a few because of margins/paddings/borders)

I also happen to have IE 6, and there is indeed an error when you mousedown the scrollbar. The error is on line 15 of your index.js file.
javascript Code:
  1. hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;

It said "object required", so I guess "hotDog" isn't set.

edit: If you want to read more about events: http://www.quirksmode.org/js/introevents.html and http://www.quirksmode.org/js/events_access.html
Very interesting
__________________
Jack Bauer makes Chuck Norris cry

Last edited by Vicious; 05-05-07 at 03:12 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 05-05-07, 01:01 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
This is what I have done so far:

I removed the JavaScript pop-up that was causing the problem in IE and I fixed my CSS code to the following:

CSS Code:
  1. html{
  2.  min-width:1030px;
  3. }
  4. body{
  5.  margin: 0px; padding: 0px;
  6.  background:#FE7A3C;
  7.  }
  8.  
  9. #header, #main, #right {
  10. border:2px solid #333333;
  11. float:none;
  12. margin:0px;padding:0px;
  13. }
  14.  
  15. #right {
  16. background:#FFF428 none repeat scroll 0%;
  17. color:#333333;
  18. margin:0px;
  19. margin-left:20px;
  20. padding:0px;
  21. position:absolute;
  22. right:20px;
  23. top:10px;
  24. width:210px;
  25. z-index:3;
  26. }
  27.  
  28. #main {
  29. background:#FFFFFF none repeat scroll 0%;
  30. color:#333333;
  31. margin:10px 240px 10px 10px;
  32. min-width:730px;
  33. padding:20px;
  34. width:auto;
  35. z-index:1;
  36. }
  37.  
  38. #header {
  39. background:#FFFFFF none repeat scroll 0%;
  40. color:#333333;
  41. margin:10px 240px 10px 10px;
  42. padding:0px 0px 0px 40px;
  43. min-width:730px;
  44. z-index:2;
  45. }
  46.  
  47. #authCom{
  48. margin:10px;
  49. text-align:left;
  50. }
  51.  
  52. div#footer{
  53. clear: both;
  54. padding: 0px;
  55. margin: 0px;
  56. width: 100%;
  57. background: #FFCC33;
  58. height: 20px;
  59. }
  60.  .style2{
  61.  color: #333333;
  62.  font-weight: bold;
  63.  font-size: 11px
  64.  }
  65.  .style3 {
  66.     color: #333333;
  67.     font-weight: bold;
  68.     font-size: 12px;
  69. }
  70. .style1{
  71.     color: #333333;
  72.     font-weight:normal;
  73.     font-size: 14px;
  74.     text-align:justify;
  75.    
  76. }
  77.  
  78. .f1{
  79.  height:18px; width:178px;
  80. }
  81.  
  82. a:link    { color: #333333 }
  83. a:visited { color: #333333 }
  84. a:hover   { color: #FF6600 }
  85. a:active { color: #FF6600 }
  86.  
  87. #dashed {
  88.     width:80%;
  89.     height:80%;
  90.     padding:10px;
  91.     margin:9.5px;
  92.     border:1px dashed #000000;
  93. }
  94.  
  95. /*Nifty Corners Cube CSS by Alessandro Fulciniti
  96. The following classes are added dinamically by javascript,
  97. and their use should be avoided in the markup */
  98.  
  99. b.niftycorners,b.niftyfill{display:block}
  100. b.niftycorners *{display:block;height: 1px;line-height:1px;font-size: 1px;
  101.     overflow:hidden;border-style:solid;border-width: 0 1px}
  102. /*normal*/
  103. b.r1{margin: 0 3px;border-width: 0 2px}
  104. b.r2{margin: 0 2px}
  105. b.r3{margin: 0 1px}
  106. b.r4{height: 2px}
  107. b.rb1{margin: 0 8px;border-width:0 2px}
  108. b.rb2{margin: 0 6px;border-width:0 2px}
  109. b.rb3{margin: 0 5px}
  110. b.rb4{margin: 0 4px}
  111. b.rb5{margin: 0 3px}
  112. b.rb6{margin: 0 2px}
  113. b.rb7{margin: 0 1px;height:2px}
  114. b.rb8{margin: 0;height:2px}
  115. b.rs1{margin: 0 1px}
  116. /*transparent inside*/
  117. b.t1{border-width: 0 5px}
  118. b.t2{border-width: 0 3px}
  119. b.t3{border-width: 0 2px}
  120. b.t4{height: 2px}
  121. b.tb1{border-width: 0 10px}
  122. b.tb2{border-width: 0 8px}
  123. b.tb3{border-width: 0 6px}
  124. b.tb4{border-width: 0 5px}
  125. b.tb5{border-width: 0 4px}
  126. b.tb6{border-width: 0 3px}
  127. b.tb7{border-width: 0 2px;height:2px}
  128. b.tb8{border-width: 0 1px;height:2px}
  129. b.ts1{border-width: 0 2px}


I also added a doctype declaration. The page works in Firefox and Netscape with one glich, the bottom scroll bars don't work. In IE and Opera the #right <div> is again overlapping others. I don't know how it is working with Safari because I don't own a Mac. The reason for the big empty space was that the "pop-up" (which I have deleted) was an invisible div with a width that was huge. And therefore the browser resized to that causing a huge gap between my #right div and my left end of the browser.

So any help would be really nice!

Thanks
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 05-06-07, 01:43 PM
jfulton's Avatar
jfulton jfulton is offline
Community VIP
 
Join Date: Apr 2006
Location: Los Angeles, CA
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
The right bar still overlaps everything if you resize the browser because you are using absolute positioning and there is no "container" div. If you wrap the #main and #right divs in a container with relative positioning and a width, it should work.

(I've only checked in Safari and Camino on my mac.)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 05-06-07, 02:09 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
The reasons I didn't switch over the the relative positioning and setup a container div is because the right div would fall down....

Like if you would go to napkinz.com right now, you would notice that the right div is not aligned right.

The CSS Code is following:

CSS Code:
  1. body{
  2.  margin: 0px; padding: 0px;
  3.  background:#FE7A3C;
  4.  min-width:1035px;
  5.  }
  6.  
  7. #contain{
  8. position: relative;
  9. min-width: 1035x;
  10. border: none;
  11. margin: 0 auto; padding: 0;
  12. }
  13.  
  14. #header, #main, #right {
  15. border:2px solid #333333;
  16. position:relative;
  17. float:none;
  18. margin:0px;padding:0px;
  19. }
  20.  
  21. #right {
  22. background:#FFF428 none repeat scroll 0%;
  23. color:#333333;
  24. margin:0px;
  25. margin-left:20px;
  26. padding:0px;
  27. float:right;
  28. right:10px;
  29. width:210px;
  30. z-index:3;
  31. }
  32.  
  33. #main {
  34. background:#FFFFFF none repeat scroll 0%;
  35. color:#333333;
  36. margin:10px 240px 10px 10px;
  37. min-width:730px;
  38. padding:20px;
  39. width:auto;
  40. z-index:1;
  41. }
  42.  
  43. #header {
  44. background:#FFFFFF none repeat scroll 0%;
  45. color:#333333;
  46. margin:10px 240px 10px 10px;
  47. padding:0px 0px 0px 40px;
  48. min-width:730px;
  49. z-index:2;
  50. }
  51.  
  52. #authCom{
  53. margin:10px;
  54. text-align:left;
  55. }
  56.  
  57. div#footer{
  58. clear: both;
  59. padding: 0px;
  60. margin: 0px;
  61. width: 100%;
  62. background: #FFCC33;
  63. height: 20px;
  64. }
  65.  .style2{
  66.  color: #333333;
  67.  font-weight: bold;
  68.  font-size: 11px
  69.  }
  70.  .style3 {
  71.     color: #333333;
  72.     font-weight: bold;
  73.     font-size: 12px;
  74. }
  75. .style1{
  76.     color: #333333;
  77.     font-weight:normal;
  78.     font-size: 14px;
  79.     text-align:justify;
  80.    
  81. }
  82.  
  83. .f1{
  84.  height:18px; width:178px;
  85. }
  86.  
  87. a:link    { color: #333333 }
  88. a:visited { color: #333333 }
  89. a:hover   { color: #FF6600 }
  90. a:active { color: #FF6600 }
  91.  
  92. #dashed {
  93.     width:80%;
  94.     height:80%;
  95.     padding:10px;
  96.     margin:9.5px;
  97.     border:1px dashed #000000;
  98. }
  99.  
  100. /*Nifty Corners Cube CSS by Alessandro Fulciniti
  101. The following classes are added dinamically by javascript,
  102. and their use should be avoided in the markup */
  103.  
  104. b.niftycorners,b.niftyfill{display:block}
  105. b.niftycorners *{display:block;height: 1px;line-height:1px;font-size: 1px;
  106.     overflow:hidden;border-style:solid;border-width: 0 1px}
  107. /*normal*/
  108. b.r1{margin: 0 3px;border-width: 0 2px}
  109. b.r2{margin: 0 2px}
  110. b.r3{margin: 0 1px}
  111. b.r4{height: 2px}
  112. b.rb1{margin: 0 8px;border-width:0 2px}
  113. b.rb2{margin: 0 6px;border-width:0 2px}
  114. b.rb3{margin: 0 5px}
  115. b.rb4{margin: 0 4px}
  116. b.rb5{margin: 0 3px}
  117. b.rb6{margin: 0 2px}
  118. b.rb7{margin: 0 1px;height:2px}
  119. b.rb8{margin: 0;height:2px}
  120. b.rs1{margin: 0 1px}
  121. /*transparent inside*/
  122. b.t1{border-width: 0 5px}
  123. b.t2{border-width: 0 3px}
  124. b.t3{border-width: 0 2px}
  125. b.t4{height: 2px}
  126. b.tb1{border-width: 0 10px}
  127. b.tb2{border-width: 0 8px}
  128. b.tb3{border-width: 0 6px}
  129. b.tb4{border-width: 0 5px}
  130. b.tb5{border-width: 0 4px}
  131. b.tb6{border-width: 0 3px}
  132. b.tb7{border-width: 0 2px;height:2px}
  133. b.tb8{border-width: 0 1px;height:2px}
  134. b.ts1{border-width: 0 2px}

And if you need the HTML/PHP (its a dynamic page) code it is the following:
PHP/HTML Code:
    <? include("../newsConfig.php");include("../comicConfig.php");$sid="956821";include("/home/napkinzc/public_html/stats/write_logs.php");?><!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><title>NAPKINZ - HOME - Update Every Sunday</title><meta name="verify-v1" content="oiYH+uqjBdcLpcIDoYAWIRwWkiKf/naNgQjlT6rFvkg="><meta name="resource-type" content="document"><meta name="Generator" content="napkinzc Tag Generator"><meta name="revisit-after" content="5"><meta name="classification" content="Entertainment"><meta name="description" content="A funny web comic created by Yanni Davros"><meta name="keywords" content="napkinz, napkins, napkin, cartoon, comic, funny, yanni, davros, yanni davros, art"><meta name="rating" content="General"><meta name="copyright" content="2007"><meta name="author" content="Ayush Sood"><meta http-equiv="reply-to" content="napkinz@napkinz.com"><meta http-equiv="Content-Language" content="English"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="alternate" type="application/rss+xml" title="The Official Napkinz Feed" href="http://napkinz.com/rss.php"><link rel="stylesheet" type="text/css" href="style.css"><script language="JavaScript" type="text/javascript" src="index.js"></script><script type="text/javascript" src="niftycube.js"></script><script type="text/javascript">    window.onload=function()    {        Nifty("div#footer","normal fixed-height");    }</script></head><?require('/home/napkinzc/unhide.php');require('/home/napkinzc/unhideComment.php');unhide();unhideComment();?><body><div id="contain"><!-- START OF ACTUAL BODY //--><div id="header" align="right">    <img src="images/top.gif" alt="header" width="50%">    <p align="center" class="style3"><a href="index.php">HOME</a> | <a href="products.php">PRODUCTS</a> | <a href="archive.php">ARCHIVE</a> | <a href="napkinz.php">ABOUT NAPKINZ</a> | <a href="cartoonist.php">ABOUT THE CARTOONIST</a> | <a href="contact.php">EMAIL US</a></p></div><!--HEADER ENDS START OF MAIN CONTENT //--><div id="main" class = "style3">    <div align="center">        <? if($strip_id != 0) {print("<a href=\"?strip_id=0\">First Comic</a>");} ?>&nbsp;&nbsp;&nbsp;<? if($strip_id > 0) {$x = $strip_id-1; print("<a href=\"?strip_id=$x\">Previous Comic</a>");} ?>&nbsp;&nbsp;&nbsp;<? if( (($strip_id+1) < sizeof($comic)) && validDate($comic[($strip_id+1)])) {$x = $strip_id+1; print("<a href=\"?strip_id=$x\">Next Comic</a>");} ?>&nbsp;&nbsp;&nbsp;<? if( (validDate($comic[($strip_id+1)])) && ($strip_id != sizeof($comic)-1)) {print("<a href=\"?\">Today's Comic</a>");} ?><p align = "left"><br /><br /><? print("$titleStrip[$strip_id]");?>&nbsp;</p><img src=<? print("\"{$directoryComics}{$comic[$strip_id]}\""); ?> width="95%" border="0" alt="Comic">    </div>    <br />    <div align="center">        <script type="text/javascript"><!--        google_ad_client = "pub-1198548217340900";        google_ad_width = 728;        google_ad_height = 90;        google_ad_format = "728x90_as";        google_ad_type = "text";        //2007-04-30: NapkinzBottom        google_ad_channel = "0048481088";        google_color_border = "FE7A3C";        google_color_bg = "FFFFFF";        google_color_link = "000000";        google_color_text = "000000";        google_color_url = "000000";        //-->        </script>        <script type="text/javascript"          src="http://pagead2.googlesyndication.com/pagead/show_ads.js">        </script>    </div>    <br />    <!--FOOTER //-->    <div id = "footer">        <p class = "style3" align="center"><a href="napkinz.php">About Napkinz </a> | <a href="cartoonist.php">About The Cartoonist </a>| <a href="policy.php">Privacy Policy </a>| <a href="contact.php">Email Us  </a>| &copy;2007 NAPKINZ.COM </p>    </div></div><!--RIGHT FRAME //--><div id="right"><br />    <div align="center">        <script type="text/javascript"><!--        google_ad_client = "pub-1198548217340900";        google_ad_width = 200;        google_ad_height = 200;        google_ad_format = "200x200_as";        google_ad_type = "image";        //2007-04-30: NapkinzRightTop        google_ad_channel = "2987546058";        google_color_border = "FE7A3C";        google_color_bg = "FFFF66";        google_color_link = "000000";        google_color_text = "000000";        google_color_url = "000000";        //-->        </script>        <script type="text/javascript"          src="http://pagead2.googlesyndication.com/pagead/show_ads.js">        </script>    </div>    <?                // News parser        for($i = 0; $i <= sizeof($news); $i++) // Will display new posts at the bottom        // for($i = sizeof($news)-1; $i >= 0; $i--) // Will display new posts at the top        // Choose one of the two above and "document out" the other one (put // in front of it)        {            if(dateSerial($news[$i]) >= dateSerial($comic[$strip_id]))            if(dateSerial($news[$i]) < dateSerial($comic[$strip_id+1]) or dateSerial($comic[$strip_id+1]) == "19991130")            {                include("{$directoryNews}{$news[$i]}");                $postTime = timeLong($news[$i]);                $postDate = dateLong($news[$i]);                $postAuthor = postInfo($news[$i], "modeAuthor");                $postE_Mail = postInfo($news[$i], "modeE_Mail");            ?>    <div id="authCom" class="style3">        <? print("$postTitle"); ?>        <br /><br />        &nbsp;&nbsp;&nbsp;&nbsp;<? print("$postText"); ?>       <? }} ?>    </div>    <br /><div align="center" style="margin-left:8px;">                                         <table width="100%" border="0" cellspacing="0" cellpadding="0">        <tr>            <td align="left"><span class="style2">Sign Up for Newsletter:</span></td>        </tr>        <form id="newsletter" name="newsletter" action="newsletter.php" method="POST">        <tr>            <td width="76%" align="left" valign="top"><input id="EmailFrom" name="EmailFrom" class="f1"></td>            <td width="24%" align="center" valign="middle"><a href="#"><img src="images/subscribe.gif" alt="go" height="17" width="17" border="0" onclick="newsletter.submit();"></a></td>        </tr>        </form>        </table>        <br />        <!-- start of ohnorobot search code -->          <table width="100%" border="0" cellspacing="0" cellpadding="0">        <tr>            <td align="left"><span class="style2">Search Napkinz:</span></td>        </tr>        <form name="search" action="http://www.ohnorobot.com/index.pl">        <tr>            <td width="76%" align="left" valign="top"><input type="hidden" name="comic" value="723"><input name="s" class="f1"></td>            <td width="24%" align="center" valign="middle"><a href="#"><img src="images/subscribe.gif" alt="go" height="17" width="17" border="0" onclick="search.submit();"></a></td>        </tr>        </form>        </table>        <div align="center">          <span class="style2">Powered by <a href="http://www.ohnorobot.com">OhNoRobot.com</a></span>        </div>    <!-- End Ohnorobot.com code -->    </div>    <br />    <div align="center">        <table width="100%" border="0">          <tr>          <td class="style2">Napkinz RSS Feed:</td>          </tr>          <tr>            <td align="center"><a href="http://napkinz.com/rss.php"><img align="middle" src="images/rss20.gif" border="0" width="80" height="15" alt="RSS" /></a></td>          </tr>          <tr>            <td align="center"><a href="http://napkinz.com/atom.php"><img align="middle" src="images/atom10.gif" border = "0" width = "80" height = "15" alt="ATOM" /></a></td>          </tr>          <tr align="center">          <td><a href="http://fusion.google.com/add?feedurl=http%3A//www.napkinz.com/rss.php"><img src="http://buttons.googlesyndication.com/fusion/add.gif" width="80" height="14" border="0" alt="Add to Google"></a></td>          </tr>          <tr>          <td align="center"><a href="http://us.rd.yahoo.com/my/atm/Napkinz/The%20Official%20Napkinz%20Feed/*http://add.my.yahoo.com/rss?url=http%3A//napkinz.com/rss.php"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif" width="80" height="15" border="0" align="middle" alt="Add to My Yahoo!"></a></td>          </tr>          <tr>            <td align="center"><a href="http://english-87605547845.spampoison.com"><img align="middle" src="http://pics3.inxhost.com/images/sticker.gif" border="0" width="80" height="15" alt="Stop Spam" /></a></td>          </tr>          <tr>            <td align="center"><a href='http://host-tracker.com/' onmouseover='this.href="http://host-tracker.com/website-uptime-statistics/328667/lvuc/";'><img width=80 height=15 border=0 alt='tracker' src="http://ext.host-tracker.com/uptime-img/?s=15&amp;t=328667&amp;m=00.59&amp;p=Total&amp;src=lvuc"></a><noscript><a href='http://host-tracker.com/' >web site monitoring</a></noscript></td>                         </tr>        </table>    </div>    <br />    <div align="center">        <script type="text/javascript"><!--        google_ad_client = "pub-1198548217340900";        google_ad_width = 180;        google_ad_height = 60;        google_ad_format = "180x60_as_rimg";        google_cpa_choice = "CAAQ24Oy0QEaCH9Si1cjMAnSKMu293MwAA";        google_ad_channel = "3113579803";        //-->        </script>        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">        </script>    </div>    <br /></div><!-- end of right column --></div></body></html>

Any ideas how to make the right div higher???
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 05-06-07, 02:57 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
Great its always like this: I solve one problem and then another problem appears...

Ok so I got the right div to go where it is supposed to go (yay!!). All I had to do was in the HTML code declare the right div before the main and the header. Now there are some problems with different browsers:

IE7 (someone with IE6 tell me what is going on) - The right div starts by overlapping the main, but as soon as you resize the window it fixes itself? Very weird.

Netscape and Firefox - The right div is a bit to down, needs to be moved up a bit... It fixes itself when I remove the top:10px; from the right div...but then IE and Opera don't work right.

Opera - working beautifully...

Anyone with Safari...let me know what is going on.

Any ideas on how to fix this? I know I could use the "<!--[if IE]>" statements but I am trying to avoid that.

Thanks
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 05-06-07, 04:45 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
Never mind I solved it!!!

The solution was as follows:

I just added padding to the container div that I setup!!! You can view the changes at napkinz.com !! The IE is still overlapping a little when you goto the page...I would still like to know how it is with IE6 and Safari.

Thanks a bunch!!
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 05-06-07, 09:43 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
I fixed the IE problem, I just had to remove the position:relative; from the container....

Though if anyone has IE6 or Safari...let me know how it looks....
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 05-06-07, 11:46 PM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
If I click on "Today's Comic" everything looks good.
But if I then click on "First Comic" the orange background takes over on the top and right and the advertisement buttons on the right-bottom end up in the orange area at the top-center-lower-right.
It also happens most of the time whenever I click on "Previous Comic" or "Next Comic".
I am using FireFox & IE6.
Whatever you are doing, it changes the effect you are trying to get with a Header on top, the comic in the body and advertisements on the right side.
But when it does look right, it looks good.
Maybe you should try re-writing your layout without CSS. Get it looking pretty good and then fine tune it with CSS.
Also it would be easier to manage the javascript code you have embeded in the body of your document, if you put them in functions in the head of your document, then call the functions in the body.
This layout you have which seems to be pretty strait forward would be easier to manage if you laid it all out in tables.
Also you wouldn't have a problem with different browsers.

CSS can be fun to achieve different effects, but sometimes just using the old fashioned methods like tables for your layout works better.
__________________
Jerry Broughton

Last edited by job0107; 05-07-07 at 12:16 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #10 (permalink)  
Old 05-07-07, 05:09 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
Yea, though I have had really bad experiences with tables...thanks for pointing out the problem with archive...that is because of the the newly installed news script...since it cant find news for a specific date, its messing things up...ill fix that as soon as I get time.
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scroll bars in flash! Please help me! wonderboye Flash & ActionScript 1 10-16-06 05:04 AM
Scroll bars help!!!!! afiltroi Visual Basic 1 10-09-06 03:24 PM
scroll bars timmy long CSS 1 01-24-06 04:09 AM
Disable scroll bars in a page mic_scp JavaScript 1 11-11-04 03:44 PM


All times are GMT -5. The time now is 10:58 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.