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.

kirman

Members
  • Joined

  • Last visited

  1. I've got myself a nice green nav bar for a webpage im building. However there's a DIV on the page in green that id like this nav bar to fit in... The thing is i cant same to get it to budge at all, even with position fixed... id like it to sit in the DIV ive made thats coloured green.. so i can then move it left right or centre as i need it... using padding thanks for looking... http://connordesign.comyr.com/build/index.html
  2. dont worry i just gave it a z-index lol
  3. Just done myself a spiffing new nav bar in css... and it wont show up.. when u hover gallery or lakes,... there should be a list below them of about 4 or 5 links and they seem to hide behind the fading image... however when i remove the fading image it works.. any ideas... cheers heres the addy http://connordesign.comyr.com/hunter/sample.html
  4. Are you saying a margin has over ridden this?
  5. Hello all, Ive just finished my layout with the exception of the footer which will include a background set for the div. Its only 6px high and when making this on a seperate webpage it works fine... See code below... <!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=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> .footer { width:854px; height:6px; background-position:center; background-image: url(images/footer.jpg); background-repeat: no-repeat; } </style> </head> <body> <div class="footer"></div> </body> </html> However when i insert this into my webpage i end up with a div cell of approx 19px's :S I dont understand why ive done nothing different. take a look at the code on my page... http://connordesign.comyr.com/ its driving me mental lol
  6. Just out of interest what is the other way and is it better? If so why.. cheers
  7. Doesnt matter i figured out what you mean lol Cheers oppo!
  8. When i remove the div section and replace it with <a class="homeroll" href="http://Google.com">Google</a> all i get is "Google" standard link and no image or rollover... HELP!
  9. How can i make these buttons into links, Ive got the effect i want but how will i make them into links? Here's the page im talking about. http://connordesign.comyr.com/fresh.html
  10. hi all, ive just found this script and it works well! However i dont want the link function there so can someone please delete what needs deleting so it still works cause when i delete the link parts it stops working... I only want to click a button and an image swops which is what it does. But this code also includes a onclick of the image it opens a URL and i need that part deleting from all images.. Its embeded in the Jscript.. any help will be greatly appreciated! Cheers then <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html> <head xmlns="http://www.w3.org/1999/xhtml"> <title>Js Testing</title> <style type="text/css"> button { border: solid 1px #000000; text-decoration:none; color:#000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-style: normal; font-weight: normal; font-variant: normal; padding:4px; background-color:#99FF66; float:left; margin-left:5px; margin-top:10px; } button:hover { border: solid 1px #333333; text-decoration:none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-style: normal; font-weight: normal; font-variant: normal; padding:4px; background-color:#00CC33; float:left; margin-left:5px; margin-top:10px; } </style> </head> <body> <div id="header"> <h1>Javascript Testing</h1> </div> <script type="text/javascript">17.18 /*Image data: src, link */ var data = [ {src: "images/random2.jpg", link: "http://google.com"}, {src: "images/random3.jpg", link: "http://yahoo.com"}, {src: "images/random4.jpg", link: "http://chapo.co.cc"} ]; /* This function will be called when button is clicked.*/ function buttonclick(index) { if(!data[index]) { alert("No data found at index : " + index); return; } var src = data[index].src; var link = data[index].link; var img = document.images.im1; /* Changing image attributes */ img.src = src; img.onclick = function() { window.open(link); };} </script> <div> <img src="images/random1.jpg" name="im1" onclick="window.open('http://google.com')"/><br/> <button onclick="buttonclick(0);">1</button> <button onclick="buttonclick(1);">2</button> <button onclick="buttonclick(2);">3</button> </div> </body> </html>
  11. How can i make these buttons then?
  12. Ok so here goes, ive made myself a nice looking CSS button my text is centre aligned, however it wont seem to align to the midle of the whole box. These are going to be my bottons for my small image gallery. please help <!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"> .buttonbox { width:300px; height:30px; text-align:left; } .imagebutton { width:20px; height:30px; background-color:#999999; border:solid 1px #000000; text-align:center; float:left; } .imagebutton:hover { width:20px; height:30px; background-color: #FF0066; border:solid 1px #000000; text-align:center; float:left; } .link2 { text-decoration:none; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; } .link2:hover { text-decoration:none; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; } </style> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>button</title> </head> <body> <div class="buttonbox"> <a href="#" class="link2"> <div class="imagebutton">1</div> </a><a href="#" class="link2"> <div class="imagebutton" style="margin-left:10px">2</div> </a> <a href="#" class="link2"> <div class="imagebutton" style="margin-left:10px">3</div> </a> <a href="#" class="link2"> <div class="imagebutton"style="margin-left:10px">4</div> </a> </div> </body> </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.