Title: CSS question
Last modified: August 18, 2016

---

# CSS question

 *  [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/css-question-2/)
 * I am not sure if it’s possible but is their a way to give a link a defined width?
   Or make any link within a div skip a line (the defined width would automatically
   push the rest of the content to the next line).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/css-question-2/#post-155072)
 * [http://www.w3schools.com/css/css_reference.asp#dimension](http://www.w3schools.com/css/css_reference.asp#dimension)
 *  Thread Starter [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/css-question-2/#post-155251)
 * Hrm, I tried all of those properties and they do work with things like h2, but
   they don’t necessarily do that for a link.
 *  [kiddeath91](https://wordpress.org/support/users/kiddeath91/)
 * (@kiddeath91)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/css-question-2/#post-155258)
 * `<h2>` is block-level by default. I don’t think anchors are. Try everything with
   your css. The first I would try with these links you refer to is:
 * `div# a {display:block}`
 * A combination of margins and paddings should get you the styling you’re looking
   for.
 *  Thread Starter [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/css-question-2/#post-155269)
 * As Homer says DoH!
 * Thank you kiddeath91 and nuclearmoose for the help, and you were right kiddeath,
   I was missing the display: block;

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘CSS question’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [basketball](https://wordpress.org/support/users/basketball/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/css-question-2/#post-155269)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
