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.

james-harvey

Members
  • Joined

  • Last visited

Everything posted by james-harvey

  1. Cheers, really appreciate that
  2. Hello, Basiclly I want my Div to be 500Px in Lenth and if the data in the div runs over for scroll bars to be there. Im half way there, i got the scroll bars but the data: Doesn't Move Lay across the page Here is the site example http://a1cleaningsupplies.com/2-window-cleaning/window-cleaning.html Here is the CSS Code for the DIV #content{ float:left; width:700px; padding:15px; background-color: #FFF; text-align: center; margin: 0px 0px 10px 0px; height:500px; overflow: auto;} Please Note this WORKS in firefox. Thanks
  3. Hiya, below is the code in my <head> tag: <script language="JavaScript"> var theImages = new Array() theImages[0] = 'test/graphic1.jpg' theImages[1] = 'test/graphic2.jpg' theImages[2] = 'test/graphic3.jpg' theImages[3] = 'test/graphic4.jpg' var j = 0 var p = theImages.length; var preBuffer = new Array() for (i = 0; i < p; i++){ preBuffer[i] = new Image() preBuffer[i].src = theImages[i] } var whichImage = Math.round(Math.random()*(p-1)); function showImage(){ document.write('<img src="'+theImages[whichImage]+'">'); } </script> I was just wondering if there was anyway i could add a caption or some form of text to each random picture, other that obviously editing the picture itself Working example: Link Thanks.
  4. Thank you very much! Worked a treat
  5. Hi, I recently asked how to get a few div tags next to each other and when the page size is shrunk down the divs drop a line. (Code Below) CSS .container {width:950px; margin:0px auto;} .box {float:left; background-color:#FFF; width:13.9%; margin:10px; border:5px solid black;} .clear { clear:both; } HTML <div class="container"> <div class="box"> 1 </div> <div class="box"> 2 </div> <div class="box"> 3 </div> <div class="box"> 4 </div> <div class="box"> 5 </div> <div class="box"> 6 </div> <div class="box"> 7 </div> <div class="box"> 8 </div> <div class="box"> 9 </div> <div class="box"> 10 </div> <div class="box"> 11 </div> <div class="box"> 12 </div> <div class="clear"></div> </div> Here is an example of that working http://www.a1cleaningsupplies.com/working.html But then i hit a problem, when i put pictures into them tags when the line drops it goes all weird. LOL Example: http://www.a1cleaningsupplies.com/notworking.html Thank-you!
  6. That seemed to work very well thank-you just a few color tweeks. Could you tell me how i could add the clolor black as the outline for each seperate box please?
  7. Hi, was just wondering if anyone could help. While doing a bit of web design I got stuck with div tags, so decided to change where the divs would be into images. But basiclly I need to have about 5 divs next to each other and then if a smaller sreen size was used the divs would drop down. Any help would be greatful. (Web address below) http://a1cleaningsupplies.com/products/paper-supplies.html

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.