Hi,
I have a design and Myriad Pro is required. This isn't a problem. The issue is that in Photoshop they have used 'Bold Condensed'. I am not sure what this is called, I think it is one of the varients of Myriad Pro. What is the best way to emulate this on a website?
Thanks.
...
I have a page that has a lot of dialogs.
There are a particular few that I want to apply some css to.
I can like this:
.ui-dialog .ui-dialog-title
{
color:#3A6983;
}
.ui-dialog .ui-dialog-content
{
background:#eee;
color:#3A6983;
}
However this styles all the dialogs. I only want to style a particular group. How can I do...
Hi
I'm trying to make a pattern in a layout (see attachment for visualisation)
The problem is that using :odd :even doesnt work.
I've tried to make it work by using "for loops", and if statements, but obviously jquery doesn't do this stuff in that way. Or maybe i'm supposed to do it outside the document ready statement? I tired that to...
I'm retrieving the width of elements using jQuery and would prefer it if I could have an indication of whether there was an explicit width (and height) specified.
<div id="test"></div>
<script type="text/javascript">
$(function() { alert($('#test').css('width')); });
</script>
This will alert the implicit width of the div in terms of ...
I've read a bunch of previous posts dealing with the padding problem I'm experiencing between IE8 and earlier versions (IE7,6). I already tried resetting my CSS as mentioned previously, but no luck. Any help would be greatly appreciated. Thanks in advance!
The issue is best illustrated with screenshots (see below), but in the css I'v...
I have some tabular data. In the last column, I have 2 divs, one that shows the vote-data, and one that shows the save-data. I would like to first div to stick to the top of the table cell, and the second div to the bottom of the table cell. Setting the table cell {postion: relative;} so I can use {position: absolute;} in the divs has...
How would I go about testing the performance benchmarks of different css selectors? I've read articles like this. But I don't know if it is applicable to my website because he used a test page with 20000 classes and 60000 DOM elements.
Should I even care,does performance really get downgraded that much based upon the css strategy you ta...
Is this possible? I'd of assume that compatibility view is much like the older IE's, so I tried
<!--[if lt IE 8]>
css goes here
<![endif]-->
but it doesn't work.
...
Ok, so in my page I am showing a background image with this css:
.heroarea {
background:url(/static/images/mrd_hero_01.jpg) no-repeat;
height:450px;
}
and the copy placed over it and the container the copy is in have these styles:
.main-panel {
position: absolute;
top: 130px;
left: 380px;
background: #fff;
...
When I remove the display:block from a p inside a div, it ignores the top-margin or it's own hight or something like that. It snuggles up right next to the element above it. Does anyone know why?
The div is floated, the element above is not.
...
here is the page where i need to add CSS:
http://upload.wikimedia.org/wikipedia/commons/a/a5/Map_of_USA_with_state_names.svg
since there is no body and header, where exactly would i paste the css?
here is what it looks like currently and it does not work?
somestyle.css
<style>
#tt {
position:absolute;
display:block;
background:url...
I have a simple Google Chrome extension that uses the content script feature to modify a website. More specifically, the background image of said website.
For some reason I can't seem to be able to use local images, even though they are packed in the extension.
body{
background:#000 url('image.jpg') !important;
background-repe...
what different is .selector1 .selector2 and .selector1 > .selector2? Dont then both indicate the .selector2 is child of .selector1
What is different?
...
i am getting this error on this code:
<style>
#tt {
position:absolute;
display:block;
background:url(images/tt_left.gif) top left no-repeat;
}
#tttop {
display:block;
height:5px;
margin-left:5px;
background:url(images/tt_top.gif) top right no-repeat;
overflow:hidden;
}
#ttcont {
display:block;
padding:2px 12px 3px 7px;
ma...
How do i go about changing the css of an iframe scrollbar? My problem with the current scrollbar in my iframe is the frame is not very wide and the scrollbar appears bulky in it and takes up too much space... Using "scrolling="no" makes the scrollbar disappear but then the user cannot scroll... By the way, My browser is Google Chrome...
...
I am having some issues with loading a custom font on a site that I am working on.
Seems to work in Chrome, but that is it...
https://andstones.site-ym.com/
I attach a custom stylesheet,
<link charset="utf-8" type="text/css" href="http://www.korymathewson.com/fonts/styles.css" rel="stylesheet">
and in the stylesheet I write:
@...
can you please give me a structure like this:
<html><body><svg></svg><javascript>..............</html> ??
i am having A LOT of trouble adding css and javascript to an SVG file that looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativeco...
I added HyperLink control in my page. When I enter "http://www.google.com", It is opening in new window (good) and pointing google.
1. When I enter "www.google.com", It is opening in new window, but Url is "http://mysite.com/www.google.com". Why this is happing? How to should point to www.google.com
<a href= '<%# Eval("ConferenceUrl")...
I have an image next to an input, and I was wondering how I centered both with one another. I need the center of the image to be vertically aligned with the center of the input. How do I make this happen?
Markup:
<span class="my-span">
<input type="text" .../><a href="..."><img .../></a>
</span>
...
I have a webpage with a tiled background body image. It needs to be tiled because the designer wants it scalable with the browser window. It creates a very specific grid over which the rest of the site is designed.
There is also a white page border around it (created via a separate div with a higher z-index) because the designer wants t...