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.

NewDave

Members
  • Joined

  • Last visited

  1. Thanks Sam, I tried what you said and it seems to have worked, many thanks for you help!!
  2. Lol i know! meant to look like the bottom one here, with the header on the left, the email and Cv on the right then the main content below it. At the moment the header and CV bit is in the main content!! I jsut cant solve how to get it looking good
  3. <!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> XXXXXXXXXXXXXXXXXXXXXXXX </title> <style type="text/css"> body { margin: 7px 0 0 0; padding: 0; text-align: center; /* Needed for IE.*/ background: url(bg.gif); } .oneColElsCtrHdr #container { width: 70%; margin: 0 auto; margin-top: 100px; text-align: left; /* Needed for IE.*/ font: Verdana, Arial, Helvetica, sans-serif; } .oneColElsCtrHdr #mainContent { padding: 20px; background-color: #FFFFFF; color: #333333; margin: 0; } .oneColElsCtrHdr #footer { padding: 0 10px; background: #333333; margin: 0; color:#CCCCCC } .oneColElsCtrHdr #footer p { margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */ padding: 3px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */ text-align:right; font-size: 75%; } h2 { width: 100%; } h2 span { color: white; font: bold 24px/45px Helvetica, Sans-Serif; letter-spacing: -1px; background: rgb(0, 0, 0); /* fallback color */ background: rgba(0, 0, 0, 0.7); padding: 10px; } h2 span.spacer { padding:0 5px; background: rgb(0, 0, 0); /* fallback color */ background: rgba(0, 0, 0, 0.7); } h3 { width: 100%; } h3 span { font: bold 14px/35px Helvetica, Sans-Serif; letter-spacing: -1px; background: rgb(0, 0, 0); /* fallback color */ background: rgba(0, 0, 0, 0.7); padding: 10px; } h3.pink { color: #FF00FF; } h3.blue { color: #00CCFF; } h3.orange { color: #FFFF00; } h3.green { color: #00FF00; } h4 { font-weight:bold; } h4.dates { float:right; font-size: 80%; } h4.titles { float:left; } .oneColElsCtrHdr #sideOptns{ padding: 20px 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */ margin: 0; float: right; width: 146px; height: 100px; } .oneColElsCtrHdr #header{ padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */ margin: 0; float: left; } --> </style></head> <body class="oneColElsCtrHdr"> <div id="container"> <div id="header"> <h2><span>Hello. XXXXXXXXXXXXXXXXXXXXXXXX <span class='spacer'></span><br /> <span class='spacer'></span> XXXXXXXXXXXXXXXXXXXXXXXX </span></h2></div> <div id="sideOptns"> <a href="XXXXXXXXXXXXXXXXXXXXXXXX"><img src="email.png" alt="Email Me" border="0"/></a><br /> <a href="/CV2009.doc"><img src="download.png" alt="Download CV" border="0"/></a></div> <div id="mainContent"> <h3 class="pink"><span>PREVIOUS RELEVENT EMPLOYMENT</span></h3> <h3 class="blue"><span>RELEVENT IT SKILLS</span></h3> <h3 class="orange"><span>EDUCATION</span></h3> <h3 class="green"><span>INTERESTS, HOBBIES AND OTHER INFORMATION</span></h3> </div> <div id="footer"> <p align="left">Last Updated: 30th November 2009</p> </div> <!-- end #container --> </div> </div> </body> </html> Right here is my code after I've done some alterations. This completely messes up the layout in chrome now!
  4. if I float that bit left then then content of the site moves up and it all looks a mess?
  5. Sorry it's just a sample of the code so the div is further down! I've given it a width: .oneColElsCtrHdr #sideOptns{ padding: 0 10px; margin: 0; float: right; width: 146px; } I dont understand what you mean about the form elements?
  6. As can be seen: In the top image the float: right does not work (IE!), bottom it is fine (Chrome), what am I missing here? .oneColElsCtrHdr #sideOptns{ padding: 0 10px; margin: 0; float: right; } <body class="oneColElsCtrHdr"> <div id="container"> <div id="sideOptns"> <a href="xxxxxxxxxxxxxxxxxx"><img src="email.png" alt="Email Me" border="0"/></a><br /> <a href="/CV2009.doc"><img src="download.png" alt="Download CV" border="0"/></a></div>
  7. I knew it would be something so simple. The <%@LANGUAGE="Javascript" CODEPAGE="65001"%> is something dreamweaver put in without me noticing, deleted it now and it seems fine. Thanks for the stuff about the h3.pink too, I knew I needed to clean that up but wasn't sure how, I can get rid of a lot of the code now. Thanks so much!
  8. Here is my entire code: <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> <!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>XXXXXXXXXXXXXXXXXXX</title> <style type="text/css"> body { margin: 0; padding: 0; text-align: center; /* Needed for IE.*/ background: url(bg.gif); } .oneColElsCtrHdr #container { width: 70%; margin: 0 auto; text-align: left; /* Needed for IE.*/ font: Verdana, Arial, Helvetica, sans-serif; } .oneColElsCtrHdr #mainContent { padding: 20px; background-color: #FFFFFF; color: #333333; } .oneColElsCtrHdr #footer { padding: 0 10px; background: #333333; margin: 0; color:#CCCCCC } .oneColElsCtrHdr #footer p { margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */ padding: 3px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */ text-align:right; font-size: 75%; } .style1 { font-size: large; font-weight: bold; } h2 { width: 100%; } h2 span { color: white; font: bold 24px/45px Helvetica, Sans-Serif; letter-spacing: -1px; background: rgb(0, 0, 0); /* fallback color */ background: rgba(0, 0, 0, 0.7); padding: 10px; } h2 span.spacer { padding:0 5px; } h3-pink { width: 100%; } h3-pink span { color: #FF00FF; font: bold 14px/35px Helvetica, Sans-Serif; letter-spacing: -1px; background: rgb(0, 0, 0); /* fallback color */ background: rgba(0, 0, 0, 0.7); padding: 10px; } .h3-blue { width: 100%; } .h3-blue span { color: #00CCFF; font: bold 14px/35px Helvetica, Sans-Serif; letter-spacing: -1px; background: rgb(0, 0, 0); /* fallback color */ background: rgba(0, 0, 0, 0.7); padding: 10px; } h3-orange { width: 100%; } h3-orange span { color: #FFFF00; font: bold 14px/35px Helvetica, Sans-Serif; letter-spacing: -1px; background: rgb(0, 0, 0); /* fallback color */ background: rgba(0, 0, 0, 0.7); padding: 10px; } h3-green { width: 100%; } h3-green span { color: #00FF00; font: bold 14px/35px Helvetica, Sans-Serif; letter-spacing: -1px; background: #333333; /* fallback color */ background: rgba(0, 0, 0, 0.7); padding: 10px; } h4 { font-weight:bold; } h4-dates { float:right; font-size: 80%; } .oneColElsCtrHdr #sideOptns{ padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */ margin: 0; float:right; } --> </style></head> <body class="oneColElsCtrHdr"> <div id="container"> <div id="sideOptns"> <a href="XXXXXXXXXXXXXXXXXXX"><img src="email.png" alt="Email Me" border="0"/></a><br /> <a href="XXXXXXXXXXXXXXXXXXX"><img src="download.png" alt="Download CV" border="0"/></a></div> <h2><span>Hello. XXXXXXXXXXXXXXXXXXX:<span class='spacer'></span><br /> <span class='spacer'></span>XXXXXXXXXXXXXXXXXXXis</span></h2> <div id="mainContent"> <h3-pink><span>XXXXXXXXXXXXXXXXXXX</span></h3-pink> <h3-blue><span>XXXXXXXXXXXXXXXXXXX</span></h3-blue> <h3-orange><span>XXXXXXXXXXXXXXXXXXX</span></h3-orange> <h3-green><span>XXXXXXXXXXXXXXXXXXXX</span></h3-green> </div> <div id="footer"> <p align="left">Last Updated: 30th November 2009</p> </div> <!-- end #container --> </div> </div> </body> </html>
  9. Sorry, it works fine in FF and Chrome but in IE there is no formatting on it
  10. I'm developing a website at the moment, looks good in FF and Chrome and Safari but not IE (as usual). I'm working through it at the moment but Im struggling with this bit: (taken from a tutorial on another site) Here is the CSS: h2 { width: 100%; } h2 span { color: white; font: bold 24px/45px Helvetica, Sans-Serif; letter-spacing: -1px; background: rgb(0, 0, 0); /* fallback color */ background: rgba(0, 0, 0, 0.7); padding: 10px; } h2 span.spacer { padding:0 5px; } Here is the HTML I am using: (ive included the div sections incase that is doing anything) <body class="oneColElsCtrHdr"> <div id="container"> <div id="sideOptns"> <a href="XXXXXXXXXXXXX"><img src="email.png" alt="Email Me" border="0"/></a><br /> <a href="XXXXXXXXXXXXX"><img src="download.png" alt="Download CV" border="0"/></a></div> <h2><span>Hello. XXXXXXXXXXX<span class='spacer'></span><br /> <span class='spacer'></span>XXXXXXXX</span></h2>

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.