|
Hi,
Thanks for your answer. Today I found some good articles on howstuffworks.com, they were really good introductions to ad-based business.
About trusting a custom system, you are 100% right, it is less likely for people to post ads on the website unless the website is 100% trusted and well-known, but on the other hand I don't want a third-party to cut 50% of my ads benefits - I want to optimize my business.
about additional features, those need a little bit more reading so I can understand how they work
Thank you
And ever has it been that love knows not its own depth until the hour of separation
Mohammad Gdeisat
|
|
|
|
|
Well I always figure that 50% of something is better than 100% of nothing, but you're right, they will take a cut.
What's worth doing depends on your business model and scale - but either way, knowing how stuff works is a good thing.
Good luck with it
|
|
|
|
|
You are 100% right. After developing my website I'll stick with Google's AdSense or something similar for a while, but when my website becomes more popular I'll start running my own Ad software, this seems to be a logical choice
Thank you again
And ever has it been that love knows not its own depth until the hour of separation
Mohammad Gdeisat
|
|
|
|
|
Hi all.
Do you know how we can combine this CSS code :
body {
background-color: #615a49;
color: #F4F5EF;
text-align: center;
margin: 0 auto;
min-height: 100%;
height: 100%;
line-height: 17px;
font-family: Tahoma;
font-size: 12px;
font-weight: normal;
}
.css_class1{
background-color: #988F81;
border-top-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-left-style: solid;
border-top-color: #F6F5F2;
border-left-color: #F6F5F2;
border-right-width: 1px;
border-bottom-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-right-color: #333333;
border-bottom-color: #333333;
color: #000000;
}
|
|
|
|
|
What do you mean when you say that you want to "combine" the code?
Usually you combine something with something else, so what do you want to combine it with?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I'm so sorry for my English. I'm new.
I'd like to reduce above css code.
For example we can write
background: #746c5e url('image/body.jpg') repeat-y center;
instead of
background-image: url('image/body.jpg');
background-repeat: repeat-y;
background-position: center;
Do you understand what I mean ?
I want to reduce this code like that :
css_class1{
background-color: #988F81;
border-top-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-left-style: solid;
border-top-color: #F6F5F2;
border-left-color: #F6F5F2;
border-right-width: 1px;
border-bottom-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-right-color: #333333;
border-bottom-color: #333333;
color: #000000;
}
|
|
|
|
|
I see.
Like this:
css_class1{
background-color: #988F81;
border-top: 1px solid #F6F5F2;
border-left: 1px solid #F6F5F2;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
color: #000000;
}
or like this:
css_class1{
background-color: #988F81;
border: 1px solid;
border-color: #F6F5F2 #333333 #333333 #F6F5F2;
color: #000000;
}
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
|
Be more clear as to what you are trying to achieve.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I'm so sorry for my English. I'm new.
I'd like to reduce above css code.
For example we can write
background: #746c5e url('image/body.jpg') repeat-y center;
instead of
background-image: url('image/body.jpg');
background-repeat: repeat-y;
background-position: center;
Do you understand what I mean ?
|
|
|
|
|
Well, what is wrong with the original?
background-image: url('image/body.jpg');
background-repeat: repeat-y;
background-position: center;
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I want to reduce this code like that :
Can you ?
css_class1{
background-color: #988F81;
border-top-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-left-style: solid;
border-top-color: #F6F5F2;
border-left-color: #F6F5F2;
border-right-width: 1px;
border-bottom-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-right-color: #333333;
border-bottom-color: #333333;
color: #000000;
}
|
|
|
|
|
|
Mohammad Dayyan wrote: Can you ?
Sure, but can you? No point in me doing it for you (no financial reward for me) when you should be the one learning how to do it
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hey Paul .
Actually I can't. I'm in hurry and if you can Please do it.
|
|
|
|
|
Mohammad Dayyan wrote: I'm in hurry
Missing the part where that's my problem
Mohammad Dayyan wrote: Please do it
Ummmmm........no
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
However thanks my friend
|
|
|
|
|
What you need to be doing is looking at the code, and seeing what you're duplicating. Pull out the common elements, and then see what you have left.
Try something like:
.css_class1{
background-color: #988F81;
color: #000000;
border: solid 1px #F6F5F2;
border-right-color: #333333;
border-bottom-color #333333;
}
There's further improvements that can be made, but that's a start.
In fact, since you seem to be trying to get a 3d effect on the edges of the border, you could try replacing it with "border-style: inset", or "border style: outset", which probably won't display identically to your first sample, but is a standard style with shorter markup.
eg:
.css_class1{
background-color: #988F81;
color: #000000;
border-style: outset;
}
|
|
|
|
|
|
Hi there guys.
I have a CSS file and a HTML file (HTML created by smarty)
I want to the css file load on browser earlier than HTML file.
Can we do it ?
|
|
|
|
|
Mohammad Dayyan wrote: I want to the css file load on browser earlier than HTML file.
Why?
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
In order for the CSS file to load, it must be linked to (by an HTML file). So the answer is no - you can't really do it.
The only way you could achieve a similar result is by pre-loading the CSS somehow, but there's not really much to be gained by doing this in most situations.
Just put the CSS link toward the top of the page, and let the browser get it when it wants it. If you're having problems with the speed, try debugging it using firefox with the YSlow plugin. It gives you a lot of information about the structure of your page, and potential bottlenecks.
|
|
|
|
|
Hi all,
I need to validate textboxes run at server in asp.Net but using javascript, exactly using getElementbyId Function in javaScript, How I can do this. Please any body help.
Regards all
|
|
|
|
|
|
if we are using same js file from different asp.net pages.what are different ways to persist javascript global variables through different asp.net pages.
|
|
|
|