Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Can't fix a template from solucija.com  (Read 2821 times)

iall

  • Newbie
  • *
  • Karma: 0
  • Posts: 19
Can't fix a template from solucija.com
« on: October 02, 2007, 10:29:24 pm »

Hello!  ;)

I downloaded a template from solucija.com ,but i can't get the text area (Where people write their comments) bigger?I'ts small like this - Click!

Please help! :-[
« Last Edit: October 02, 2007, 10:43:50 pm by iall »
Logged
- Amicus verus - rara avis. -

Luka

  • Administrator
  • ULTIMATE member
  • ******
  • Karma: 36
  • Posts: 1717
    • http://www.snewscms.com
Re: Can't fix a template from solucija.com
« Reply #1 on: October 02, 2007, 10:45:55 pm »

Add this to your stylesheet:

Code: [Select]
textarea {
    width: 300px;
    height: 200px;
}

Or whatever dimensions you see fit.

Logged

iall

  • Newbie
  • *
  • Karma: 0
  • Posts: 19
Re: Can't fix a template from solucija.com
« Reply #2 on: October 02, 2007, 11:07:45 pm »

Now it looks like this - Click!

The "big" comment box is behind the small comment box  :'(
Logged
- Amicus verus - rara avis. -

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6020
  • Semantically Challenged
    • snews.ca
Re: Can't fix a template from solucija.com
« Reply #3 on: October 02, 2007, 11:12:40 pm »

Oooppss... now that doesn't look good, does it. I'm sure Luka will take a look and offer suggestions next time he's back online.
BTW... how are your CSS / HTML coding skills... beginner, intermediate or seasoned veteran? Your answer will help us help you.
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

iall

  • Newbie
  • *
  • Karma: 0
  • Posts: 19
Re: Can't fix a template from solucija.com
« Reply #4 on: October 02, 2007, 11:13:52 pm »

Sorry ,but beginner  :-[ I'm trying as hard as i can!  ;)

EDIT:

I dont know HOW i fixed it ,but i did it  ;D ;)
« Last Edit: October 02, 2007, 11:43:47 pm by iall »
Logged
- Amicus verus - rara avis. -

Luka

  • Administrator
  • ULTIMATE member
  • ******
  • Karma: 36
  • Posts: 1717
    • http://www.snewscms.com
Re: Can't fix a template from solucija.com
« Reply #5 on: October 03, 2007, 01:55:48 pm »

I don't know the html structure so I'll offer several potential fixes:

The comment box obviously has a height set or the text area has float: left
property.

Solution 1:
Code: [Select]
teaxtarea { clear: both; }

Solution 2:
Code: [Select]
.commentbox { overflow: auto; }

Solution 3:
Add this line just after the textarea for comment:
Code: [Select]
<div style="clear: both;"></div>

Logged

iall

  • Newbie
  • *
  • Karma: 0
  • Posts: 19
Re: Can't fix a template from solucija.com
« Reply #6 on: October 03, 2007, 07:46:47 pm »

Thanks for the tip !  ;)
Logged
- Amicus verus - rara avis. -