CSS (Cascading Style Sheets) is a language used to control the visual presentation of HTML and XML documents including (but not limited to) colors, layout and fonts.
-4
votes
6answers
33 views
Changing css styles with javascript
I know there are already threads on this but I couldn't find an answer to fit my needs. I'm trying to use external JS to change external CSS. I have a very simple CSS body style:
html, body{
...
0
votes
1answer
9 views
CSS: Displaying/scaling images without messing up the proportions?
I have an image, its 120 x 90 px for example. Now I want to display a smaller version of that image, with 80 x 50 px for example. I know I can use width and height which will work for images having ...
0
votes
0answers
10 views
Use multiple themed css files within one theme - CakePHP
I have themed folders within my cakephp project one for each client.
I am creating a mobile version and need to have a mobile theme for it.
In this mobile theme I want to load one of the css files ...
-4
votes
2answers
24 views
I need to find fixed leftside 100% height menu
I'm Matthew and i'm new here. I need to find a menu which looks like that here:
http://noblebank.pl/ (leftmenu)
I have searched it a half day and i got no more ideas how to find something like that :)
...
0
votes
1answer
25 views
Is there a CSS-only fallback for calc() for IE8
I know there is a CSS fallback for calc() for IE6-7. Likewise, I know there is a jQuery alternative.
However, is there a CSS-only fallback for calc() for IE8? If so, what is it?
0
votes
2answers
52 views
Can't edit css styles for :before, :after?
I have this styling:
section.tipos .content > div:before {
background: none repeat scroll 0 0 #DDDDDD;
content: " ";
height: 10px;
left: 32%;
position: absolute;
top: ...
2
votes
0answers
37 views
Making fluid 3x3 grid display of 9 divs
Fiddle | FullScreen
In the code above, i successfully managed to make a 3x3 grid of 9 divs (8 cloned via jQuery). The grid is centered horizontally but not vertically. Is there any not too complex ...
0
votes
0answers
15 views
github beautiful popup: looking for css
There is a new feature on Github : maps. It's built with Leaflet, but it clearly uses some costum css for the pop-up:
I would love to use the same, but I can't find the relevant css.
EDIT: managed ...
0
votes
1answer
27 views
CSS : Collapsing navigation, one element at a time
Collapsing navigation, like the one you get from Twitter Bootstrap, is a "all or nothing" approach which either shows all or hides all navigational elements.
However, is there a way to hide ...
0
votes
2answers
18 views
switch list/grid view using jQuery
on one of my website page, i present datas on a table element. But i want to add a button to let user choose if he want to see datas as a list (table) or a grid (ul>li>img). what is the best way to do ...
2
votes
0answers
18 views
IE8 CSS selector ~ (tilde) adresses only first element
IE 8 will address only the first tooltip element "a[data-tooltip="sk_5 …" instead the preceeding ones too.
The HTML:
<div class="skcontainer">
<a class="specialClassifications ...
-1
votes
0answers
30 views
Why does stack overflow use table layout for post content [closed]
I've just spotted that more recent stack overflow posts are marked up within a div but use tables for layout within the div. Inspect this element to see what I mean.
0
votes
0answers
6 views
What sort of approach to serving up customised styles, based on screen size, does this website (Bell Helmets) use?
I'm new to web design and am experimenting with varying styles to suit mobile on my website. I am aiming to achieve something similar to Bell Helmets' approach ...
1
vote
0answers
10 views
GWT change menuBar position
I'm having a menuBar with a sub menuBar with n-menuItems. it looks kinda like this picture:
But because of my layout I want to open the "More" option on the left side of the menu not on the right ...
0
votes
3answers
32 views
negative z-index disappears under background
I'm trying to implement a div, that looks like a tall and narrow page, like a notebook paper.
I have my content in <div id='centerframe'/> and I thought that a good solution was to use an ...