html - CSS, Left and Right borders override part of top one -


Example: Is it possible to remove gray lines from red to left and right edges without additional HTML elements?

The code is simple:

  div {width: 300px; Height: 100px; Border: 1 px solid # ccc; Border-top: 15px solid # C90110; }   

This code is used in email HTML layout, so I'm not sure that it is okay to work with shadows.

short answer is not the same, for the purpose you want at least (easy on a web page) !)

If you are doing this as an email template, and you must use two different devices for cross- (browser, e-mail client - insert the appropriate word here) ( In fact, tablet (shock horror) is better for email in most cases!)

Emails correctly Is a very difficult to stick - will work on two Divijh, one red, left, right and a white - this is the email client with the limitations.

The answer given below is given on how to do it on the Web, it has been suggested that +1 (+2) should be given for that one as it belts, but can not do it: - P)

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -