d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > I Need Someone With Website Making Skill -css/html
Add Reply New Topic New Poll
Member
Posts: 33,222
Joined: Apr 14 2006
Gold: 775.00
Oct 4 2012 08:57am
I am currently in the making of a website and im stuck with 3-4 problem i can't solve.
Link to my website is www.rapacademie.com (Approved)

Since i can't solve the problem my self
I would like to pay someone with FG to help me fix the website.



1st problem is the text ''La page Facebook'' is higher than the other two in google chrome
I got no clue why it's higher and/or how to fix it.
http://puu.sh/1bk4L

2nd thing i'd like to fix is the ''Fin de round 3 and Facebook'' instead of having them in the center.
I'd like them alligned to the Left like this
http://puu.sh/1bdWZ

3rd finally i would like to add some border to my page (Something along these line)
http://puu.sh/1b8LZ

These are the top 3 thing i would like to fix on my page, and i'm willing to pay quite a bit of Forum gold for someone to fix it.

This thread was approved by Markro
Quote (Markro @ Oct 4 2012 10:02am)
okay should be fine
Member
Posts: 827
Joined: Jan 16 2012
Gold: 0.00
Warn: 10%
Oct 4 2012 12:36pm
I'm checking the website, your first problem is easy, the tag <span></span> you're using before the "Le Page Facebook" contains an white space inside it, so something is happening that the browser cannot automatically calculate its size. If you check the other 2 <span> tags on the other images, you'll see their size is 5px x 39px, but this first span is 0 x 0. Just remove this white space and it will be fixed. The other 2 are just CSS rules, should be fairly easy as well.
Member
Posts: 827
Joined: Jan 16 2012
Gold: 0.00
Warn: 10%
Oct 4 2012 01:21pm
Your second problem... You're using the <center> HTML tag, witch centers everything inside it. Btw, this tag is deprecated.

Edit:

Alternatively, if you don't want to remove the <center> tag, just put the <center> tag after the </h2> tag, and set the Margin-left of the element to position where you want it

This post was edited by StormHasHe on Oct 4 2012 01:24pm
Member
Posts: 20,464
Joined: Dec 31 2006
Gold: 131.00
Oct 4 2012 08:21pm
Quote (StormHasHe @ Oct 5 2012 07:21am)
Your second problem...  You're using the <center> HTML tag, witch centers everything inside it. Btw, this tag is deprecated.

Edit:

Alternatively, if you don't want to remove the <center> tag, just put the <center> tag after the </h2> tag, and set the Margin-left of the element to position where you want it


margin:auto;
to center shit man, don't use manual margins
Member
Posts: 33,222
Joined: Apr 14 2006
Gold: 775.00
Oct 4 2012 10:36pm
1st problem solved by storm,

2nd problem id like someone to send me the new code and i'll pay them
Member
Posts: 13,630
Joined: Dec 4 2009
Gold: 0.00
Oct 5 2012 12:06am
2nd problem seems fixed to me.

For the last problem, there are a few ways of solving it. What I would do is put everything in the body tag in a div tag with the id "wrapper", then set the width to however wide you want, and the margin to 0 auto. From there, you put the background image on the wrapper div, and the background color on the body tag.

in styles.css:

Code
body {
   /* the other css rules */
   background: #999;
}


in custom.css:

Code
div#wrapper {
   background: url('path/to/background-image.png') no-repeat;
   width: 800px; /* you can set this to whatever you want */
   margin: 0 auto;
}


in the html file:

Code
<!-- doctype declaration, and head content -->
<body>
   <div id="wrapper">
      <!-- all of your already existing content -->
   </div>
</body>
Member
Posts: 33,222
Joined: Apr 14 2006
Gold: 775.00
Oct 5 2012 06:45am
I manually added white dot to fix the second problem so it's not really solved.
if you load the page with I.E you can see it's still not fixed.

This post was edited by R0cktaze on Oct 5 2012 07:10am
Member
Posts: 33,222
Joined: Apr 14 2006
Gold: 775.00
Oct 5 2012 07:29am
Quote (R0cktaze @ Oct 5 2012 08:45am)
I manually added white dot to fix the second problem so it's not really solved.
if you load the page with I.E you can see it's still not fixed.


Breakpoint i'm gonna try your solution tonight
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll