Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-14-2012, 10:28 PM   PM User | #1
lodewijk6
New to the CF scene

 
Join Date: Sep 2012
Location: I'm Dutch
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
lodewijk6 is an unknown quantity at this point
Borders and blocks

Hi guys,

Im new and i have a question, ofcourse :P.

Im trying to put a site together, not for a sertain purpose, just to get html, css, javascript and php (im not jet doing the last two). My site is this: http://lodewijk6.lo.funpic.org/ and I want, to get everything just right and fitting. I have no idea where to post a code, so let me please know

lodewijk6

Last edited by lodewijk6; 09-15-2012 at 10:21 AM..
lodewijk6 is offline   Reply With Quote
Old 09-14-2012, 11:56 PM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,697
Thanks: 5
Thanked 875 Times in 850 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
And what exactly is your HTML/CSS related question now?
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 09-15-2012, 08:55 AM   PM User | #3
lodewijk6
New to the CF scene

 
Join Date: Sep 2012
Location: I'm Dutch
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
lodewijk6 is an unknown quantity at this point
Ow sorry, was tired yesterday :\.

How do I get that grey news block higher, so that it wil cover the top of the white box, and my menu is very ugly, so please help my out there. (still dont know where to post the code)
lodewijk6 is offline   Reply With Quote
Old 09-15-2012, 09:48 AM   PM User | #4
Sammy12
Registered User

 
Join Date: Jun 2011
Posts: 1,063
Thanks: 12
Thanked 241 Times in 240 Posts
Sammy12 is on a distinguished road
Quote:
Originally Posted by lodewijk6 View Post
How do I get that grey news block higher, so that it wil cover the top of the white box
Code:
p {
    margin: 0;
}
Most tags have default margins and paddings, in this case the <p> tag has a margin of 1em on the top and bottom. Most people like to just reset these:

Code:
* {
    margin: 0;
    padding: 0;
}
The * selector will apply to all CSS tags. There are many other reset methods: Eric Meyer Reset and HTML5 Doctor, however the * reset is the simplest.

-----------------------

Quote:
Originally Posted by lodewijk6 View Post
and my menu is very ugly, so please help my out there.
try using a CSS linear gradient. http://css-tricks.com/css3-gradients/

-----------------------

Quote:
Originally Posted by lodewijk6 View Post
(still dont know where to post the code)
You can just post the code in your post. Remember to wrap it in [code][/code] tags:

[code]
// Code here
[/code]

Code:
this way {
    it is properly: formatted;
}
However, it is preferable to just post a website link so we can see all the files and see the problem at hand. If you post code, just post a small segment of it where you the think the problem occurs along with a website link.

Last edited by Sammy12; 09-15-2012 at 10:01 AM..
Sammy12 is offline   Reply With Quote
Users who have thanked Sammy12 for this post:
lodewijk6 (09-15-2012)
Old 09-15-2012, 09:55 AM   PM User | #5
lodewijk6
New to the CF scene

 
Join Date: Sep 2012
Location: I'm Dutch
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
lodewijk6 is an unknown quantity at this point
Oke much tnks

Ill try it, and if it works, i shall put this post on resolved
lodewijk6 is offline   Reply With Quote
Reply

Bookmarks

Tags
blocks, borders, css, html

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:07 AM.


Advertisement
Log in to turn off these ads.