Welcome!

And don't forget to edit your signature & profile.

 

Icon

Statistics

  • Total posts 23326
  • Total topics 4050
  • Total members 5576
  • Our newest member
    feha

TOP POSTERS

Ask SM: your CSS Question please

All problems and developments related to (X)HTML-markup and stylesheets are discussed and resolved here.
   

Ask SM: your CSS Question please

Postby Sven » Fri Jan 23, 2009 4:24 am

Today, we are glad to welcome Chris Coyier, who you may know from his articles on CSS-Tricks, to our Smashing Magazine Editorial Team. From now on, Chris will regularly answer your CSS- and jQuery-related questions and present answers to the most interesting, useful and original ones in his articles on Smashing Magazine. Welcome, Chris!

Of course, you can send any CSS- and jQuery-related question you want. To ask a question post it here.
Team
Please do not spam, do not advertise and beware of linkdropping.
User avatar
Sven
Smashing <div>
 
Posts: 135
Joined: Sat Sep 13, 2008 8:55 am
   

   

Re: Ask SM: your CSS Question please

Postby mloclam » Fri Jan 23, 2009 6:25 am

Thanks Sven and Chris, will start to bug you soon with the questions :D
User avatar
mloclam
Smashing <hr />
 
Posts: 63
Joined: Sun Sep 28, 2008 11:15 am
Location: Manickpur, Vasai Road, India
   

   

Re: Ask SM: your CSS Question please

Postby wonderer » Thu Feb 05, 2009 8:38 pm

Hey Chris, what is your opinion on CSS Frameworks? What frameworks are better, which are not that bloated and what frameworks are easy to learn? It would be great if you could also recommend a good CSS-framework for an average online-shop. Thanks!
wonderer
 
Posts: 1
Joined: Thu Feb 05, 2009 8:36 pm
   

   

Re: Ask SM: your CSS Question please

Postby avinash » Fri Feb 06, 2009 4:03 am

hey Chris, I have been trying to add horizontal tabs in one of my project site. I tried many ready to use tabs from different source sites like Dynamic drives and others but i have been facing so many problems that i couldn't modify them as i desired. so could you please help me??? here's the link exactly what i want

http://cybersansar.com/prototype/ufo/index_blue.php

scroll down where you see men's women's kids' others

will be waiting for your response.
Thanks.
avinash
 
Posts: 3
Joined: Fri Feb 06, 2009 3:57 am
   

   

Re: Ask SM: your CSS Question please

Postby Vitaly » Fri Feb 06, 2009 5:16 am

by @upstartdesignerL

question: my site has multiple layouts. I want a cookie that remembers what layout an user wants, with a save button. Thanks!
Team
User avatar
Vitaly
Smashing <div>
 
Posts: 183
Joined: Sun Sep 28, 2008 6:37 am
Location: Germany
   

   

Re: Ask SM: your CSS Question please

Postby d3signr » Fri Feb 06, 2009 7:54 am

Vitaly wrote:by @upstartdesignerL

question: my site has multiple layouts. I want a cookie that remembers what layout an user wants, with a save button. Thanks!


You could try this method: http://www.alistapart.com/articles/phpswitch
73% Dark Energy, 23% Dark Matter, 4% Atoms - d3signr.net
User avatar
d3signr
 
Posts: 5
Joined: Fri Feb 06, 2009 6:27 am
   

   

Re: Ask SM: your CSS Question please

Postby ncjcj » Fri Feb 06, 2009 11:18 am

I am looking for the new php mysql Is this the correct place?

Do you answer wordpress questions with regard to php and mySQL?
ncjcj
 
Posts: 1
Joined: Fri Feb 06, 2009 11:16 am
   

   

Re: Ask SM: your CSS Question please

Postby chriscoyier » Fri Feb 06, 2009 2:17 pm

@avinash: I'm a big jQuery guy and for my "tabbed boxes" (it looks like that's what you are going for), I use jQuery UI:

http://ui.jquery.com/demos/tabs/

I've also done an example in the past using Yahoo's JS libraries:

http://css-tricks.com/simple-tabbed-box/
chriscoyier
 
Posts: 3
Joined: Tue Nov 04, 2008 10:29 pm
   

   

Re: Ask SM: your CSS Question please

Postby chriscoyier » Fri Feb 06, 2009 2:19 pm

@wonderer: I've sort of spelled out how I feel about CSS frameworks here:
http://css-tricks.com/what-are-the-bene ... framework/

Personally I just tend to feel like CSS is a fairly simple language and I LIKE writing it from scratch. They aren't for me, BUT, I'm sure they can be used highly effectively and don't frown on their use at all.
chriscoyier
 
Posts: 3
Joined: Tue Nov 04, 2008 10:29 pm
   

   

Re: Ask SM: your CSS Question please

Postby popbogdan » Sat Feb 07, 2009 5:52 am

ncjcj wrote:I am looking for the new php mysql Is this the correct place?

Do you answer wordpress questions with regard to php and mySQL?

Perhaps you should add your questions in the coding forum here. This is for CSS questions.
back-end-php-ruby-on-rails-f13/
popbogdan
Smashing <table>
 
Posts: 37
Joined: Fri Jan 30, 2009 5:22 pm
Location: Cluj-Napoca, Romania
   

   

Re: Ask SM: your CSS Question please

Postby tosman01 » Sat Feb 07, 2009 11:12 am

what are the dimensions i should use when making a centered site layout

thanks
tosman01
 
Posts: 1
Joined: Sat Feb 07, 2009 11:07 am
   

   

Re: Ask SM: your CSS Question please

Postby iCatalin » Sat Feb 07, 2009 6:52 pm

hy Chris, i saw a hover on a link with rounded corners. I don't know how to do it. Can you help me? It looks like this

Image

Image
iCatalin
 
Posts: 1
Joined: Sat Feb 07, 2009 6:44 pm
   

   

Re: Ask SM: your CSS Question please

Postby avinash » Sun Feb 08, 2009 3:42 am

hey Crish i like the one from jquery UI but the problem is i don't know how to use it. download or some other way???
help me
avinash
 
Posts: 3
Joined: Fri Feb 06, 2009 3:57 am
   

   

Re: Ask SM: your CSS Question please

Postby RazvanPavel » Sun Feb 08, 2009 8:13 am

@iCatalin: it's done with CSS browser specification (-moz-border-radius, -webkit-border-radius). It goes something like this:

Code: Select all
a.title, a.title:visited {
font: normal 16px Arial, Helvetica, bla bla;
display: block; /*IE doesn't add top and bottom paddings to inline elements*/
padding: 4px 8px;
}
a:hover {
background: #f00;
-moz-border-radius: 4px; /*specific CSS selector for Firefox*/
-webkit-border-radius: 4px;/*specific CSS selector for webkit based browsers*/
}


Also, if you have a fixed with link (somethign that doesn't change dinamicly) , you could just add a background image on the hover property (you need to specifiy the width and height).
// math is easy. design is hard. front end is even harder
// interface architect // css/xhtml psycho // design enthusiast // web standards obsessed // computer science student
// i work // i twit
User avatar
RazvanPavel
Smashing <div>
 
Posts: 116
Joined: Thu Oct 09, 2008 7:32 am
Location: Bucharest, Romania
   

   

Re: Ask SM: your CSS Question please

Postby RazvanPavel » Sun Feb 08, 2009 8:32 am

oops, ignore the word "selector", way too sleepy :P
// math is easy. design is hard. front end is even harder
// interface architect // css/xhtml psycho // design enthusiast // web standards obsessed // computer science student
// i work // i twit
User avatar
RazvanPavel
Smashing <div>
 
Posts: 116
Joined: Thu Oct 09, 2008 7:32 am
Location: Bucharest, Romania
   

Next

Return to CSS and (X)HTML



Who is online

Users browsing this forum: No registered users and 0 guests