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.

james99

Members
  • Joined

  • Last visited

  1. Tizag is wonderful, thats where I started. Previous coding experience helps (NOT html )
  2. Hey all how are you today? I have a mysql database and my php page, and on the page I have a list of 9 items, which I want to sort by how many views each has received (this information is stored in the mysql database.) The database looks like this: Database: data > Table: info Field Type id int(11) name varchar(20) views int(11) The views field will be updated dynamically by other pages. The list looks like this atm: <ul class="meun"> <li class="grey"><a href="#">[item1]</a></li> <li><a href="#">[item2]</a></li> <li class="grey"><a href="#">[item3]</a></li> <i><a href="#">[item4]</a></li> <li class="grey"><a href="#">[item5]</a></li> <li><a href="#">[item6]</a></li> <li class="grey"><a href="#">[item7]</a></li> <li><a href="#">[item8]</a></li> <li class="grey"><a href="#">[item9]</a></li> </ul> The [item#] places are where the text should go. So what I want to do: Access the data Read the data (including ID, name and views) into an array of some sort. Sort the array from the highest views to the lowest. Put those items into the menu. I know I'm asking alot, I have no idea where to start though! Im quite new to PHP, lol. Thanks! (If you can only provide help for parts of it thats great as well)
  3. james99 replied to james99's topic in Frontend
    Thanks, I've spent ages trying to configure this one though, I'd hate to lose all the progress I've Made.
  4. james99 replied to james99's topic in Frontend
    Here is the live code, Css Html and Images are in zipped folder in attachments. Also, I am very inexperienced with this, if you tell me what the issue is I wouldn't have the skills to fix it! Could you please either edit the file directly or tell me how to do this. Thankyou again. livecode.zip
  5. james99 posted a topic in Frontend
    Hello everyone, first post I have recently tried my hand at designing a website. I downloaded a template off the internet, and have started to change the graphics etc on it to make it my own (I liked the layout). However: When I use a minimal amount of text, the page works fine. When I start to add more text however, the page 'breaks apart'. I was wondering whether anyone could help me resolve this issue, as it looks very ugly. Page Normal: http://img151.imageshack.us/img151/7416/normalqh2.png Page 'Cracked': http://img149.imageshack.us/img149/9072/crackeduo1.png (I have drawn red squares around the problem areas.) Where the problem areas are, I would like to have filled with the same color as the rest of the interface (a dark brown color, which is #b38736). Page source code: (index.html) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Home</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-5" /> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="content"> <div id="left"> <button class="button but1"> </button> <img src="images/photo1.jpg" alt="" width="246" height="176" class="border" /> <button class="button but2"> </button> <img src="images/photo2.jpg" alt="" width="246" height="175" /> </div> <div id="right"> <img src="images/title.gif" alt="" width="325" height="49" class="name" align=right/> <ul class="menu"> <li><a href="#"><img src="images/but1.jpg" alt="" width="83" height="46" /></a></li> <li><a href="#"><img src="images/but2.jpg" alt="" width="84" height="46" /></a></li> <li><a href="#"><img src="images/but3.jpg" alt="" width="84" height="46" /></a></li> <li><a href="#"><img src="images/but4.jpg" alt="" width="84" height="46" /></a></li> </ul> <div id="inside"> <img src="images/title1.gif" alt="" width="211" height="24" /> <div class="item1"> <p><strong>Minim veniam quis nostrud</strong> exerci tation tincidunt laoreet. Dolore magna aliquam suscipit lobortis nisl, ipsum adipiscing. elit, sed diam. </p> <img src="images/pic1.jpg" alt="" width="116" height="75" /> <a href="#">learn more about us</a> </div> <div class="hr"><img src="images/spacer.gif" alt="" width="280" height="1" /></div> <img src="images/title2.gif" alt="" width="113" height="20" /> <div class="item2"> <p><strong>Quis nostrud exerci tation tincidunt laoreet.</strong> Dolore magna aliquam suscipit lobortis nisl, ipsum adipiscing elit, sed diam.</p> <ul> <li><a href="#">Nostrud exerci tation</a></li> <li><a href="#">Tincidunt laoreet</a></li> <li><a href="#">Dolore magna aliquam</a></li> <li><a href="#">Suscipit lobortis nisl</a></li> <li><a href="#">Nostrud exerci tation</a></li> <li><a href="#">Tincidunt laoreet</a></li> <li><a href="#">Dolore magna aliquam</a></li> <li><a href="#">Suscipit lobortis nisl</a></li> </ul> </div> </div> <img src="images/round.jpg" alt="" width="335" height="8" /> </div> <div id="footer"> Copyright © 2007 Little Cafe.<br /> All Rights Reserved. <a href="#">Privacy Policy</a> • <a href="#">Terms Of Use</a> </div> <img src="images/botbg.gif" alt="" width="582" height="6" /> </div> </body> </html> CSS source code: (style.css) *{ margin:0px; padding:0px } img{border:0px} html{ width:100%; height:100%; background-image:url(images/wallpaper.png); background-position:top left; } body{ width:582px; margin:auto; padding:110px 0 0 0 } #content{ background-image:url(images/topbg.gif); background-position:top left; background-repeat:no-repeat; float:left; width:100%; padding:6px 0 0 0; } #content img{float:left} #left{ background-color:#b38736; padding:15px 0 15px 1px; width:246px; float:left } #left img {float:left} .button{ border:0px; cursor:pointer; cursor:hand; width:246px; height:43px; float:left } .but1 { background-image:url(images/button1.gif); background-position:top left; background-repeat:no-repeat; background-color:#c9a563; } .but2 { background-image:url(images/button2.gif); background-position:top left; background-repeat:no-repeat; background-color:#c9a563; } .border{ border-bottom:1px solid #BABABA } #right{ float:left; background-color:#b38736; width:335px; } .name{ background-image:url(images/bgor.gif); background-position:top left; background-repeat:repeat-y; padding:0 0 0 10px; margin:15px 0 0 0; float:left } #right img{ float:left } .menu li{ float:left; list-style-type:none } #inside{ background-image:url(images/bgleft.gif); background-position:top left; background-repeat:no-repeat; padding:15px 0 0 20px; float:left; width:315px; background-color:#FFFFFF } .item1{ width:297px; float:left; padding:10px 0 22px 5px; font-family:Tahoma; font-size:11px; } .item1 p{ color:#525151; width:160px; float:left; margin:0 20px 0 0 } .item1 p strong{ color:#3C5828; display:block; float:left } .item1 a{ text-decoration:none; font-family:Tahoma; font-size:11px; color:#3D3D3D; font-weight:bold; background-image:url(images/arrow.gif); background-position:0px 5px; background-repeat:no-repeat; padding:0 0 0 8Px; } .hr{ height:1px; float:left; background-color:#D1D1D1; border:0px; margin:0 0 8Px 8Px; display:inline } .item2{ width:310px; float:left; padding:10px 0 11px 5px; font-family:Tahoma; font-size:11px; } .item2 p{ color:#525151; float:left; margin:0 20px 0 0 } .item2 p strong{ color:#3C5828; display:block; } .item2 ul{ display:block; float:left; height:53px; width:297px; margin:5px 0 0 0px; background-image:url(images/dots.gif); background-position:135px 0px; background-repeat:repeat-y } .item2 li{ list-style-type:none; background-image:url(images/disc.gif); background-position:0px 5px; background-repeat:no-repeat; float:left; width:135px; padding:0 0 0 10px } .item2 a{ color:#525151 } #footer{ background-image:url(images/footbg.gif); background-position:top left; background-repeat:no-repeat; background-color:#b38736; float:left; padding:10px 15px 8Px 30px; font-family:Verdana; font-size:11px; color:#FFFFFF } #footer a{ color:#FFFFFF; text-decoration:underline } Thankyou for reading, I hope some kind soul can help me! Sincerely, james99.

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.