Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

jazzy639

Members
  • Joined

  • Last visited

  1. With monitor sizes getting larger and larger, the point is sites which are truly liquid and expand out look terrible. All text is like on one line from the left to right making reading very difficult. Heres how your "liquid" version looks in my browser. Its not very liquid, the background expands a bit but the text stays the same.
  2. Hi again Just tried this and it doesnt work!?!? #left-float { width:180px; float:left; } #middle-float { width:1px; border-right: 1px solid #7faaca; float:left; height:100%; } #right-float { width:693px; float:left; margin-left:20px; } <div id="left-float">nav bar stuff here</div> <div id="middle-float"></div> <div id="right-float">content here</div> Works if I give the middle float a height in px, but 100% doesnt work.
  3. Fixed, because on a 23" 2048x1152 monitor, liquid sites look stupid. EDIT: see you have examples to look at? The liquid isnt liquid... well at least not on chrome..
  4. If you take off the border on the right float as there should only be one line between the left and right side of the page. Now, when the right float is longer than the left, the border line will only go down to the end of the left float. How do we make this line extend down to the bottom of the page?
  5. I managed to find why, the Clear:both was set on the footer DIV, outside the content, so I added another DIV inside the content area with clear:both. Theres one last issue which I can't seem to sort. On your code, if you take out the height bits for the left float, right float and content so it auto expands, when you make the right float larger than the left (as would happen with text on the page), the 1px right border on the left float does not extend down. I don't know how to do it in CSS but it's like i'm looking to make the left float the same height as the right float so that the border extends down. If wouldnt work just switching the border to the right float because when the left float is larger, we would have the same issue. Thanks very much for all your help so far.
  6. Im using the above code to display the two divs side by side. However, the background image for the content area will not repeat when clear:both; is set. And without clear, the divs sit over the background images without the content area expanding - ie they are over the footer and below. How can I sort this? Thanks!
  7. Thanks, adding: padding-bottom:1px; padding-top:1px; fixes both. Sorry for being a noob, but care to explain why this fixes it and why it occurred in the first place? (ps this is why I hate CSS)
  8. One last question: why won't this display properly? <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <!--[if lt IE 7]> <script type="text/javascript" src="unitpngfix.js"></script> <![endif]--> <style> body { background-image: url('images/bg.jpg'); background-repeat: repeat-x; background-color: #f6fafc; text-align: center; } #container{ width:955px; margin:0 auto; text-align: left; } #header { width:955px; height:48px; background-image: url('images/top.png'); background-repeat: no-repeat; } #content { width:895px; background-image: url('images/middle.png'); background-repeat: repeat-y; padding-left:30px; padding-right:30px; } #footer { width:955px; height:50px; background-image: url('images/bottom.png'); background-repeat: no-repeat; } </style> </head> <body> <div id="container"> <div id="header"></div> <div id="content"> <p>text</p> <p>#</p> <p>hfdh</p> <p>df</p> <p>h</p> <p>dfh</p> <p> </p> <p> </p> <p> </p> <p> </p> <p>dfh</p> <p>fdh</p> </div> <div id="footer"></div> </div> </body> </html>
  9. edit: deleted post
  10. Hmm I think this is a problem in IE6 and under: http://homepage.ntlworld.com/bobosola/pngtest.htm
  11. Ahh, the missing link: using PNG 24 for the transparency Thanks for that code. Using PNGs had never crossed my mind due to IEs problem displaying them. Unless i'm missing something, IE will show a black background? Thanks again n0xx EDIT: No need to do the content divs, I can do CSS just not that background part. PNGs solve the problem but are they cross browser compatible?
  12. If I do that, how do I get the text to sit on top and expand the correct div? The issue is if I have content in the box where the background is 1px high and repeat-y, the content will start way down the page due to the height required for the top image.
  13. I'm not trying to leech information off of you but it would be much appreciated if you could point to a specific approach that would do this task. The problem with CSS is there is more than one way of doing things, take rounded corner boxes as an example. If this page did not have the drop shadow then I could use a simple rounded box using 4 corners or a top/bottom image. I'm having difficulty due to the drop shadow over the gradient. Hope that makes sense!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.