Everything posted by Preemo
-
Need help centering 2 divs
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
-
How do I code this layout?
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
-
How do I code this layout?
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
-
How do I code this layout?
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
-
How do I code this layout?
http://rhphosting.com/new/ For me, I mean the whitespace above the blue bit and on the sides of it. Thank you
-
How do I code this layout?
It may be, where would I place this code?
-
How do I code this layout?
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!
-
How do I code this layout?
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?
-
How do I code this layout?
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
-
How do I code this layout?
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!
-
How do I code this layout?
The thing is, I can't see their CSS, which is the most vital part I'm searching for!
-
How do I code this layout?
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
-
Can you use a div inside a div? If so, how?
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
-
How to create this text? link in topic
Thank you, it's much appreciated!
-
How to create this text? link in topic
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
-
My PHP include won't work
Sorry, I deleted that out. Even when I use that code where I want it, it doesn't work?
-
My PHP include won't work
Hey, my php include won't work. I haven't uploaded it to a server yet, so I'll have to paste all the code here. index.php <html> <head> <title>site title here</title> <LINK rel=StyleSheet href="css.css" type="text/css" media=screen> </head> <body> <div id="container" align="center"> <div id="header"> <a href="index.php"><img src="images/logo.png"></a> </div> <div id="menu" align="right"> </div> </div> </body> <html> menu.php <a href="index.php">Home</a> <a href="index.php">Services</a> <a href="index.php">Portfolio</a> <a href="index.php">Contact</a> Am I doing something wrong? Regards
-
Creating a header the same width as the site
Do you have any tutorials I could follow to do this?
-
Creating a header the same width as the site
Hey, I've spent a couple of years learning HTML and CSS, however, I stopped for a while, so I've forgotten most of what I knew (or at least I need reminding). Basically, I want a website set out like the images below. I'm not asking for anyone to send me the code for the entire design - but if you could point me in the right direction, it'd be really appreciated. Homepage: http://i575.photobucket.com/albums/ss195/RuddyRyan/Untitled-3.gif Normal pages: http://i575.photobucket.com/albums/ss195/RuddyRyan/Untitled-4-2.gif Thank you, Ryan
-
Where to find a free copy of Photoshop?
Looks like I'll have to download a 30 day trial! Thank you.
-
Where to find a free copy of Photoshop?
I must admit, I had an illegal version of Photoshop. But I wiped my PC and lost it. Would anyone know where to get a free version, legal as well if possible? Regards Ryan
-
How to stretch a graphic out on PS4
I use Photoshop CS4 (I'm no expert with all this btw). I want the graphic below to be about 1300px width, but the same height. Whenever I try to stretch it wide, the height goes up too. How do I stretch it out, whilst keeping the same height? Regards Ryan
-
PHP quote generator
Does anyone know of a quote generator, so that the user answers questions, and it will give them a basic quote of the price depending on the answers given? Thanks for the help, much appreciated! Ryan
-
New-Look WDF
I love it! Brilliant design!
-
LaserWebDesign.co.uk
Thank you, yeah I have a problem with the text centering, I'll have to get that sorted. Thank you very much for the advice!