Jul 24, 2008

2k Art: New Design! (finally, Its Better!)

Free Web Hosting, No Ads > Have your say > General Talk
Pages: 1, 2

free web hosting

2k Art: New Design! (finally, Its Better!)

KansukeKojima
http://2kart.trap17.com

Comments and suggestions please... I tried very hard to make it better than its predecessors... I think I suceeded....

Reply

csp4.0
huh... I doesn't seem to work that well with firefox. But you also didn't do a doctype which is most likely the reason for it not working. Other wise the colours and layout is pretty good. Your logo for some reason reminded me of blood splattered across a window... But good site. Should do more support for other browsers and should put in a doctype.
Doctypes aren't really required but to make the site look professional you must have a doctype. When you do add a doctype go to www.w3.org and validate your site so that you can make sure that your site has absolutely no coding errors...

Reply

KansukeKojima
ok thanks.... I'm working on fixing it thanks...

Reply

KansukeKojima
Ok well... I tried to validate it... it showed me how to fix it... buit it never worked....

Reply

sonesay
Valid code on validator doesnt mean it will display poperly but it helps narrow down the possible problems. It just comes with knowledge and practice to be able to build a good CSS and HTML layout from scratch. Thats why most people use basic templates with the structure already put out.

http://www.code-sucks.com/css%20layouts/

go here to find a similar style layout you want and build it off there. take a look at the source code and thats how your surpose to structure the layout otherwise you get all sorts of problems when its not structured a certain way.


Reply

KansukeKojima
Thanks, but I want to use what I made... just because........


Well... I'm posting my code... could you help me look for some bugs?


Here is my css... its completely valid (I checked) but it will still help

CODE
CSS

body {
padding : 0;
background-color : #1e1e1e;
}
a:link, a:visited {
font-family : verdana, tahoma, arial, sans-serif;
font-size : 8pt;
color : #3b3b3b;
text-decoration : none;
font-weight : bold;
}
a:hover {
color : #3b0004;
text-decoration : none;
border-bottom : 1px dashed #3b0004;
font-weight : bold;
}
.container {
background-color : #ffffff;
font-family : verdana, tahoma, arial, sans-serif;
font-size : 8pt;
color : #000000;
text-decoration : none;
width : 780px;
text-align : left;
border : 1px solid #1e1e1e;
}
.container2 {
background-image : url('images/cont2_bg.gif');
font-family : verdana, tahoma, arial, sans-serif;
font-size : 8pt;
color : #000000;
text-decoration : none;
width : 780px;
text-align : left;
border-top : 1px dashed #000000;
border-bottom : 1px dashed #000000;
}
.content_left {
margin-left : 0;
margin-right : 0;
background-color : #ffffff;
font-family : verdana, tahoma, arial, sans-serif;
font-size : 8pt;
color : #000000;
text-decoration : none;
width : 495px;
text-align : left;
float : left;
}
.content_right {
background-color : #ffffff;
font-family : verdana, tahoma, arial, sans-serif;
font-size : 8pt;
color : #000000;
text-decoration : none;
width : 284px;
text-align : left;
float : right;
}
.banner {
top : 20px;
text-align : left;
height : 200px;
width : 780px;
background-image : url('images/banner3.gif');
border-bottom : 1px solid #1e1e1e;
}
.banner-bottom {
background-color : #f8f8f8;
font-size : 8pt;
height : 10px;
width : 780px;
}
span.highlight {
color : #3b0004;
border-bottom : 1px dashed #000000;
text-align : left;
font-weight : bold;
font-size : 20pt;
}
span.highlight2 {
color : #3b0004;
border-bottom : 1px dashed #000000;
text-align : left;
font-weight : bold;
font-size : 10pt;
}
span.highlight3 {
color : #3b0004;
text-align : left;
font-weight : bold;
font-size : 15pt;
}
.footer {
font-family : verdana, tahoma, arial, sans-serif;
font-size : 8pt;
color : #000000;
text-decoration : none;
width : 780px;
text-align : center;
background-color : #ffffff;
}
.spacer {
font-size : 1pt;
height : 4px;
width : 780px;
}
.padding {
background-color : #ffffff;
font-family : verdana, tahoma, arial, sans-serif;
font-size : 8pt;
color : #000000;
text-decoration : none;
text-align : left;
padding-left : 10px;
padding-right : 5px;
max-width : 765px;
min-width : 765px;
}



Here is my HTML


CODE
HTML

<html>
<head>
<title>
w w w . 2 k a r t . t r a p 1 7 . c o m
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name='description' content='2K ART is a website devoted to art, and webdesign/programming.' />
<meta name='keywords' content='2K ART, 2k, art, portfolio, programming, PHP, CSS, HTML, free, downloads, design, web, blog, Davis, Hay, Kansuke, KansukeKojima, bryce, photoshop,    ' />
</head>
<body topmargin="5">
<link rel="stylesheet" href="css.css" type="text/css">
<center>
<a name="top"></a>
<div class="container">
<div class="banner">
</div>
<div class="banner-bottom">
<marquee>Welcome to w w w . 2 k a r t . t r a p 1 7 . c o m</marquee>
</div>
<div class="container2">
<div class="content_left">
$content_select
</div>
<div class="content_right">
<span class="highlight2">Navigation</span>
<br><div class="padding">
<b>1.</b> $link[1]<br><br>
<b>2.</b> $link[2]<br><br>
<b>3.</b> $link[3]<br><br>
<b>4.</b> $link[4]<br><br>
<b>5.</b> $link[5]<br><br>
</div>
<span class="highlight2">Associates</span>
<div class="padding">
<a href="http://blog.zedsi.com" target="_blank">Zedsi Developers Blog</a>
</div>
</div>
</div>
<span class="spacer" />
<div class="footer">
<a href="#top">Going Up?</a><br>
| $link[1] |
$link[2] |
$link[3] |
$link[4] |
$link[5] |<br><br>
Copyright &copy; 2008. All rights reserved.
<span class="spacer" />
</div>
</div>
</center>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2884448-1";
urchinTracker();
</script>
</body>
</html>

 

 

 


Reply

jlhaslip
First,

Remove the min-width and max-width from the .padding class.

CODE
.padding {
background-color : #ffffff;
font-family : verdana, tahoma, arial, sans-serif;
font-size : 8pt;
color : #000000;
text-decoration : none;
text-align : left;
padding-left : 10px;
padding-right : 5px;
}



the width for the div is already set in the css for the div which contain these elements, so you are overwriting the width from inside the div. Not a correct thing to do, even though it might validate.

Second,

add:
CODE
clear:both;
in the footer css code.

CODE
.footer {
font-family : verdana, tahoma, arial, sans-serif;
font-size : 8pt;
color : #000000;
text-decoration : none;
width : 780px;
text-align : center;
background-color : #ffffff;
clear:both;
}

These changes will affect the page presentation, however, there are some things in your page which should be changed.
CSS works best with semantically correct html. The list of links in the right hand column should be an ordered list (or unordered list) to be semantically correct. Also, the br tags are unneccesary if you use margins or padding to space the page elements.

Reply

KansukeKojima
jhaslip.... you are amazing! thank you.... this is amazing... thank you thank you thank you!!!!!!!

Seriously... I owe you so much right now... thank you!

Reply

jlhaslip
You are welcome. Glad it worked.

Also, check out this link: http://jlhaslip.trap17.com/samples/templat...ight/index.html and do a view source of the code to see a more semantic layout for your page. Copy it if you want to, but it is a full width design, not fixed and centred like yours. It should have a few pointers in there to get your page coded more semantically correct. (specifically the link list in the sidebar)

Don't be discouraged if things don't work the first (or 12th) time. There is lots to learn about html and it takes time and practice. More practice than time, actually, so offer your skills to friends and Forum members to develop the skills you need.

Good Luck with the site, of course...

Reply

KansukeKojima
I've added a forum today!
It can be found on the website, Enjoy!


Reply

Latest Entries

KansukeKojima
Thanks for you comments!

Also, I would appreciate it if a few people would join the forum.... I mean... they are kind of hard to get started when there is no one to talk to... lol

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : 2k, art, design, finally,

  1. Finally Some Good News
    Well deserved! (6)
  2. Finally I Get To Post!
    (4)
    Ok man, I got this stalker guy at my door but anyway. I really want to earn good cash because.. I
    have only had one job before... And it was "Sonic" lmao.. High school graduate here.. New to the
    whole shat. I used to make sites for my friends.. and people "cough myspace" Well I got popular with
    that and quit.. because I figured I'd only be making me good money if I actually had a site with
    all my layouts, and a forum, which other people could submit their layouts.. ratings etc.. Not a
    shabby idea but meh.. Is it really worth going through Adobe Script and Flash? (It&....
  3. Avatar The Last Airbender
    My Theory on the season finally (6)
    Ok, i am posting this in general talk because i have been searching through the forums and there is
    no area specified for TV Series... (Only read this if you watch and understand the avatar series)
    I just saw a small 15 second trailer for the Season two finally of Avatar The Last Airbender (
    http://www.youtube.com/watch?v=bVI28e66vsI...ted&search= ) and i came up with this idea on how i
    think that these series will end..... By watching that video i see that Zuko has come out of his
    metamorphoses (See Episode: The Earth King) and if you remember, Iroh said that when....
  4. Dispite The Problems I Finally Have Trap17 Hosting!
    I am hosted by Trap17 (6)
    Hip Hip Hurray I've got my free site working now. I've been having problems with it but
    I've got it working now. Now there is one thing that has got me paniking which is that I have
    2.75 days to get 10 credits on but the problem I have is that I am going away tomorrow and I
    won't be online at all at least I don't think I will be.....
  5. I've Finally Done It...
    (10)
    Yes, after 3 weeks of giving it the benefit of the doubt, i've finally got rid of Netscape 8.1 &
    gone back to Firefox. It is a shame, as Netscape has the potential to be an extremely good browser.
    The built-in security centre is excellent, as is the password manager. I've just grown tired
    with how slow it is, the amount of times it randomly crashes etc Anyone else found the same thing,
    or am I just unlucky?....
  6. I'm Finally On Holiday!
    For four months! Whee! (5)
    So now that I've got lots of time to spare, I'll be making new WP templates! Anybody
    need me to custom-design one for them (free!), I'm taking requests (not too many please).
    If you need examples, go to p r i s s t a t a t e e c o m /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> Well I actually made two templates, one in pink
    and the one in blue that you can see. My friend decided to use the blue one, but the pink one is
    still hers as well, so... sorry, that's not for sale. Plus it has her name on it already so....
  7. Crazy Newspaper - Finally finished the 9 pages
    (6)
    I finally finished my Crazy Newspaper Edition 1 . It took me a long time to make the 9 pages and I
    hope that you like it.....
  8. MSN finally displays msn beta results in all its queries
    (10)
    MSN finally displays msn beta results in all its queries. The results are quite different than the
    ones you get at google. I think it's a better search engine for short queries. It doesn't have that
    much spam results and directories. Did you guys notice an increase in your logfiles from msn beta?
    (it's been only a few hours I think)....

    1. Looking for 2k, art, design, finally,

Searching Video's for 2k, art, design, finally,
advertisement



2k Art: New Design! (finally, Its Better!)



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE