Spots Posted December 9, 2004 Posted December 9, 2004 Hi, i am not very good at this php stuff but i've been trying to make a center box like the one found in www.thegolfingworld.com with the border and background. Does anyone know how to do this? Please keep in mind i don't know very much about all this coding. Thank yoU!!
TCwho Posted December 9, 2004 Posted December 9, 2004 no offense but can you be a little more specific Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
Spots Posted December 10, 2004 Author Posted December 10, 2004 Sure not a problem :lol: . If you go to thegolfingworld.com you will see that theres a box with a globe in it and writing wrapped around the picture. I just want to know how to create this box, pick the color background and pick the color of the border. Also i'm curious about how to make a border that goes around the whole website like in www.thegolfingworld.com. Sorry for being so unspecific
♥Vger Posted December 10, 2004 Posted December 10, 2004 If you go to that site, and then at the top of your browser select 'View' and then select 'Source Code' you'll get a pretty good idea as to how they did the border. As to the 'box' with the globe in it, and the text around it - that's just an image which is aligned to the right and the text naturally wraps around it. Vger
Spots Posted December 10, 2004 Author Posted December 10, 2004 If you go to that site, and then at the top of your browser select 'View' and then select 'Source Code' you'll get a pretty good idea as to how they did the border. As to the 'box' with the globe in it, and the text around it - that's just an image which is aligned to the right and the text naturally wraps around it. Vger <{POST_SNAPBACK}> I tried to view the source but i realized that its all in HTML. When i tried to copy part of the html, it resulted in an error. And i'm not trying to learn how to wrap the text, but i'm trying to make the box that the globe and the wrapped text is in. And i still don't know how to make a border around my entire site like www.thegolfingworld.com
♥Vger Posted December 10, 2004 Posted December 10, 2004 I shall soon be posting this to 'Contributions' so you're the first to get it. It's how to centre a page using css, and make it a fixed size with a border. In your style sheet.css remove the existing BODY style and paste this in instead BODY { text-align: center; background: #ffffff; color: #000000; margin: 0px; } .body { width: 758px; border: solid; border-width: 1px; background: #ffffff; color: #000000; margin: auto; margin-top: 20px; text-align: left; } Then, on each page, at the end of the opening <body> tag insert this <div class="body"> and put a closing </div> tag after the </body> tag at the bottom of the page. This contains workarounds for both IE and Firefox browsers. As for the border around the 'box' that's just a table with a border, in includes/languages/english/index.php Vger
TCwho Posted December 10, 2004 Posted December 10, 2004 do you have a screenshot? I do like it when people include screeshots :P Then, on each page, at the.... you mean every page? or centain pages in certain location? Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
♥Vger Posted December 10, 2004 Posted December 10, 2004 No, don't have a screenshot at the mo' and it's late so I'm off to bed. Good point about the location. I do mean all of the page files in the root directory, or in the root folder if osCommerce is installed in a folder. Vger
TCwho Posted December 10, 2004 Posted December 10, 2004 -_- goodnight Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
Recommended Posts
Archived
This topic is now archived and is closed to further replies.