Wordpress - Highlight text in a textbox - wordpress

I just installed wordpress. I have created a post and I am trying to display a bit of text in a hightlighted textbox. Similar to the screenshot below. I can't for the life of me figure it out.
Do I need a specific plugin to do this ? or can I do it out of the box. I tried installing a plugin called "SyntaxHighlighter Evolved" which seems to work fine for PHP etc... but the below is plain XML and it just seems to bugger it up. Besides I only want to text to be highlighted I dont really care if its displayed as code or not.
Please help, I wil be so greafull.

According to the documentation, this should work:
[xml]PUT CODE HERE[/xml]
Here's the list of available languages:
http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/

found a way to get this done.
Wrap your code in the following
[p style="padding: 2px 6px 4px; color: #555555; background-color:
eeeeee; border: 2px solid #dddddd;"] CODE GOES HERE [/p]

Related

How To Add Drop Shadow in Wix Editor X

I've recently built a website in Wix's new Editor X.
Does anyone know how to add a drop shadow in Editor X?
In the old wix is was a standard text effect, I can't find anyway to access CSS.
It looks like it will allow javascript functions but that seems like the long way 'round.
Thanks
You could achieve this by setting the .html property of your object (#id). For example:
$w("#id").html = "<p style='filter: drop-shadow(1px 8px 4px #4444dd)'>test</p>"
Below snippet shows the result in pure HTML.
<p style='filter: drop-shadow(1px 8px 4px #4444dd)'>test</p>

How to add a different color next to textbox in asp.net

Probably by the title is kinda hard to understand what I meant by that, but I am trying to archive something like this.
I am trying to add in a textbox that little orange part next to the button.
I tried to create an other div which will be visible when you select the textbox. but didnt work.
any suggestion?
Something simple like this would do?
button {
border-left: 2px solid red;
}
<button>Browse games</button>

WordPress inserting source code into post giving an undesirable result

I am a WordPress beginner. I want to insert css code into an article but i am getting a too big lines size.
I wrote this in wordpress :
[sourcecode language="css"]
#button{
font-weight: bold;
border: 2px solid #fff;
}
[/sourcecode]
I want something like this :
WordPress's source code generator uses tables for its layout, so if you have any CSS that affects arbitrary table elements then it will affect the layout of your source code too.

Which file to edit to change text color in cakephp

I am using the Cakephp framework and I need help changing the text color of my dialog boxes.
The text and headers are white in the dialog box, but if I disable the dialog box and go directly to the action's view in the browser the text is color is fine. I was wondering if this is something that needs to be edited in layout.css or text.css.
I have no idea what I am doing when it comes to css files.
I'm hoping its just a small change of one line in a css file but I don't know which one.
If this question is too ambiguous or unsolvable, I will delete it.
Thanks for the help
Edit ------------------------
I found out that this is the codefrom layout.css.
tbody td {
background: none repeat scroll 0 0 #EEEEEE;
border-bottom: 1px solid #BBBBBB;
border-top: 1px solid #BBBBBB;
}
The white colored text is in a table cell,
what should I change to make it black?
You can add your css class or id form /app/webroot/css/styles.css. and check it by firebug. It is applying or not?..
Try looking in /app/webroot/css/cake.generic.css.
You'll want to add the property color to your dialogue box css. (e.g. color: black;)
Use Firebug on Firefox or just right click and chose Inspect Element on Chrome to see in which CSS file properties are defined.

CSS Doesn't load images?

So i have my website, www.alphenweer.nl, and that uses some images in the template.
Now the images are on the right url, they work fine, but when i load my website the images won't load? You can try it here. Please help, why won't the images load?
Greetings
Ok, so I gave a look at your css :
#header {
border-bottom: 1px solid black;
width: 985px;
background-image: url('http://images.alphenweer.nl/i/header-winter.png');
text-align: center;
height: 250px;
}
Even when I copy the url in my browser, I got a 404, so the image isn't on your webserver.
Ahh no! I found my own answer. I needed to reupload the css files, i forgot =)!
God, i'll understand when you guys are gonna thumb down! =)
if other images are loading and some are not loading on same location then it is due to hyphen that you have in your image name.
Hyphen in names gives problem in many places. Not only in CSS but when access database and table tables, directories and file names etc. So, try to avoid hyphen instead use underscore.
But I do not know why hyphen give problem. If anyone know that, pleas share your knowledge.

Resources