View Single Post
Old 10-04-2012, 01:50 AM   PM User | #7
D34th Maker
New Coder

 
Join Date: Jan 2012
Posts: 53
Thanks: 0
Thanked 3 Times in 3 Posts
D34th Maker is an unknown quantity at this point
Quote:
Originally Posted by Saber View Post
Thank you, this helped me alot to undarstand my problem, but now i encounter other 2 problems.

So i made my menu like this:
Code:
  <li  id="para1"><a href="site.html" >Begining</a><br>
And the style in new.css to start with this
Code:
#para1
And i made the page links with para2 instead with para1 and it works, my only problem is that i use:

Code:
<p id="para2"><a href="random10.html">441</a>   
<p id="para2"><a href="random10.html">441</a>  
<p id="para2"><a href="random10.html">441</a>
And the problem is that it aligns my pages not in order but in new row every page.. cuz of the <p> - paragraph... What can i use instead of "p" in this combination so that my Page links stay like that:
1 , 2 , 3 , 4 , 5 , 6

and like that cuz of the paragraph

1
2
3
4
etc

Code:
<p id="para2"><a href="random10.html">441</a>   
<p id="para2"><a href="random10.html">441</a>  
<p id="para2"><a href="random10.html">441</a>
And my other problem:
I use this style, cuz it's the style of my site, but it needs remodeling only for the page links and i don't know how to fix it. This is the code now:

Code:
#para2
a:link,a:visited
{
display:block;
font-weight:bold;
color:#FFFFFF;
background-color:#0099FF;
width:15px;
text-align:center;
padding:1px;
text-decoration:none;
}
a:hover,a:active
{
background-color:#5FFB17;
}
And from this i tell how wide should the background blue color be and the problem is that if it's 30px it covers 444 page niceley but if i put the page number 4 it is ugly.. cuz it has too much blue in the back enough to cover 3 digets, and i'm puting only 1 and it's just ugly ... can you give me an exit from this pickle, something like the background to be the size of the digit, or 2 digits or 3 digits, to take it auto i hope you undarstand me.
Code:
width:15px;

@jamaks thanks to you too man, this is also very useful, but to start all over again when i am at 99% done with my site it's not in my power for the moment, although with the way you start it will be better.. but maybe if i start from the scratch some day. 10x anyway.
Well i read some of your post and to fix your problem with 1-4 or so of it showing like this with the <p> tag
1
2
3
4

You'll change the <p> and </p> tags to a <div> and </div> tag i believe that or you probably could just use a table with no border for it.
D34th Maker is offline   Reply With Quote