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.

Preemo

Members
  • Joined

  • Last visited

  1.    Preemo reacted to a post in a topic: Need help centering 2 divs
  2.    Preemo reacted to a post in a topic: Need help centering 2 divs
  3. Hey, I want these two divs to be in the center of the page, but to be the same width apart as they are now, and still side by side. How would I do this? http://football-forum.net/websites/rp/ Cheers Ryan
  4. Sorry to bring an old topic up, but it's related to the same problems. The link I'm relating to is here: http://rhphosting.com/new/ Basically I have a "header" div, where I want me navigation to be (I also want this div centered and to start at the same point as the logo starts at). It's not showing the test text I have though. My CSS code is.. * { margin: 0; padding: 0; } #header { position: relative; bottom: 140px; /* tweak this until it is in the right place */ font-family: arial; font-style: bold; } #header-logo { width: 50%; position: center; height: 85px; } #wrapper { margin: 0 auto; } #header-tile { background: url(images/header_bg.png) repeat-x; height:134px; } #footer-tile { background: url(path/to/your/footer/graphic.gif) repeat-x; } #main-content { } Cheers guys
  5. If you look at it at http://rhphosting.com/new/ - that's the logo placed in the "header" div. I want it like it is in the "header-tile" div, just in line with all the content
  6. That's perfect! My last question for a while hopefully! How would I go about placing my logo in the header (like where it's blue) but with it still being the same level as the content? I've placed it in the header-tile div, but it's not level with my content. Thank you, Ryan
  7. http://rhphosting.com/new/ For me, I mean the whitespace above the blue bit and on the sides of it. Thank you
  8. It may be, where would I place this code?
  9.    Preemo reacted to a post in a topic: How do I code this layout?
  10. I really do apologise for all the questions, but as for the header - how do I remove the whitespace, I know there's a simple line you add to the CSS and it covers the whole top and side bits of the CSS instead of leaving a little white bit. Thank you!
  11. Hey, I'm having some problems. It doesn't use any of the CSS effects. My code's below.. index.php <html> <head> <link rel="stylesheet" type="text/css" href="css.css" /> </head> <body> <div id="header-tile"></div><!-- SPREADS ACROSS --> <div id="wrapper"> <!-- start wrapper --><!-- ALL CENTERED --> <div id="header"> header content goes here such as your navigation. </div> <div id="main-content"> all your main content and other DIVs go here... </div> <div id="footer"> footer content here such as copyright </div> </div> <!-- end wrapper --><!-- ALL CENTERED --> <div id="footer-tile"></div><!-- SPREADS ACROSS --> </body> </html> CSS.css #wrapper { margin: 0 auto; } #header-tile { background: url(images/header_bar.png) repeat-x; } #footer-tile { background: url(path/to/your/footer/graphic.gif) repeat-x; } Can you see where I'm going wrong?
  12. Thank you for that, that's awesome! I've +Rep you twice for being very helpful! Another question, a little different too. Could I use this code.. <?php include("header.php"); ?> .. and stick.. <html> <head> Head content here </head> <body> <div id="header-tile"></div><!-- SPREADS ACROSS --> in it? Would that work? Cheers Ryan
  13.    Preemo reacted to a post in a topic: How do I code this layout?
  14. I'm a little confused, you said "You need to make a Wrapper DIV which holds the content of the Header, Body and Footer" but the Wrapper is outside of those tags. Could you explain that a little so I understand what I'm coding please, thank you!
  15.    Preemo reacted to a post in a topic: How do I code this layout?
  16. The thing is, I can't see their CSS, which is the most vital part I'm searching for!
  17. Hey, I'm looking to create a web hosting site with a layout similar to the link below. I want the header to go all the way across the screen, but then the content in the header to be centered. The I want the body to be centered, and be in the same width as the headers content (so the body and header both starts at the same point, despite the background of the header going all the way across the page). http://www.bodhost.co.uk/ Then, the footer to just go all the way across the bottom. I'm pretty familiar with HTML and CSS, so could anyone direct in the way of a good tutorial that shows you these kind of things. Thank you, I really appreciate it, Ryan
  18. Sorry to sound stupid.. I want 3 div content boxes next to each other, I've done that. But the backgrounds to them are an image ( http://football-forum.net/hwd/css/images/contentbox.png ) The text then overlaps the edges of the outside the image, if you understand me? I'm no good at explaining things. Is there a way to have a div that was let's say, 5px less height/width and was in the middle of the div? Thank you, Ryan
  19. Thank you, it's much appreciated!
  20. Hey, How would I go about creating text like http://www.fivesite.co.uk/ - I mean the part that says "award winning business web designers and website developers - our web design team builds brands, generates leads and boosts online sales for our varied clients". Could you also explain the <div> tags part as well please. I've tried creating it, and the CSS and HTML code looks okay to me, I just can't get it to appear on the page. Regards Ryan

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.